> For the complete documentation index, see [llms.txt](https://docs.crew.you/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.crew.you/hi/service-connections/github.md).

# GitHub

अपना GitHub account connect करके repositories, issues, pull requests manage करें, और code changes भी करें — सब conversation के ज़रिए।

> **Plan requirement:** GitHub integration **Pro** plan पर available है।

## GitHub Connect करना

Crew एक **GitHub App** use करता है जिसका नाम **Crew Agent** है — आपकी repositories तक secure, fine-grained access के लिए।

1. Sidebar में **Settings** पर जाएं
2. **Service Connections** तक scroll करें
3. GitHub के बगल में **Connect** पर click करें
4. GitHub पर redirect होंगे **Crew Agent** app install करने के लिए
5. Select करें किन repositories को access grant करना है (सभी repos, या specific ones)
6. App authorize करें — Crew पर वापस आ जाएंगे

Connect होने के बाद आपका GitHub username Settings page पर दिखेगा।

### GitHub App क्यों?

Crew Agent GitHub App देता है:

* **Fine-grained permissions** — सिर्फ़ वही repositories access होती हैं जो आप choose करें
* **Secure coding agent** — Coding Agent repos clone और PRs create कर सकता है बिना आपके personal access token के
* **Automatic token refresh** — Tokens expire होने पर reconnect करने की ज़रूरत नहीं

### Reconnecting

अगर Crew किन repositories को access कर सके इसे बदलना है, Settings page से GitHub disconnect और reconnect करें। Reinstallation के दौरान repository selection update कर पाएंगे।

## क्या-क्या कर सकते हैं

### Repository Management

> "मेरी GitHub repositories list करो।"

> "my-org/my-repo में open issues दिखाओ।"

> "Frontend repo में most recent pull requests क्या हैं?"

### Issues

> "my-org/api-server में 'Fix login timeout' title से issue बनाओ bug का description देते हुए।"

> "मेरी repositories में मुझे assigned सभी issues list करो।"

> "Backend repo में issue #42 close करो।"

### Pull Requests

> "design-system repo में open PRs दिखाओ।"

> "PR #15 का status क्या है?"

> "एक PR review comment बनाओ।"

### कोडिंग एजेंट

**कोडिंग एजेंट** एक powerful feature है जो actually आपकी repository में code changes कर सकता है:

> "my-org/frontend-app में login page पर CSS alignment issue fix करो। Submit button centered होना चाहिए।"

> "my-org/api-server में authentication module को JWT tokens use करने के लिए refactor करो।"

जब कोडिंग एजेंट use करते हैं:

1. Crew secure environment में repository clone करता है
2. Requested changes autonomously करता है
3. New branch पर changes commit करता है
4. Review के लिए pull request बनाता है

यह background में चलता है — जब तक काम हो रहा है आप chatting जारी रख सकते हैं। PR ready होने पर Crew notify करेगा।

## Practical Scenarios

### Bug Triage

> "Main repo में सभी open bugs दिखाओ, newest से sort करो, और top 5 summarize करो।"

### Code Review Prep

> "Open PRs list करो जिन्हें मेरी review चाहिए और हर एक क्या change करता है summarize करो।"

### Quick Fixes

> "my-org/docs में README में typo है — 'recieve' को 'receive' में बदलो और PR बनाओ।"

## ज़रूरी बातें

* कोडिंग एजेंट branches और PRs बनाता है — कभी directly main पर push नहीं करता
* Changes हमेशा आप review और merge करते हैं
* Repository access आपकी GitHub App installation से control होता है — Crew सिर्फ़ explicitly allowed repos access कर सकता है
