⚡ TL;DR GitHub fetches code, READMEs and docs from authorized repositories on demand, with no synced index. It is read-only; use Codex to push code. Work tasks can trigger on pull request activity.
Ask about your codebase in plain English.
🐙 Connecting
Open Settings, Plugins, pick GitHub, install and authorize the ChatGPT app, then choose repositories. Change access or disconnect from the same place.
🔍 What It Can Do
ChatGPT writes searches from your prompt and fetches permitted content. Availability varies; some plans get GitHub in deep research or agent mode but not in standard chat.
⚡ PR-Triggered Tasks
Eligible Work users can create tasks on pull requests opened, ready for review or closed in github.com repos. Self-hosted GitHub Enterprise is not supported for triggers.
🧩 Missing Repositories
New repos take about 5 minutes to appear. Check the app installation, organization approval and IP allowlists.
💡 Pro tip Include the repo name and file path when asking about specific code.
Want AI working with your codebase? Lord of the Wix can help. ✨
❓ GitHub in ChatGPT FAQ
Can ChatGPT push code to GitHub?
No, use Codex for that.
Does it sync my repos?
No, it fetches on demand.
How long until a repo appears?
About 5 minutes.
Can tasks trigger on PRs?
Yes, in Work, for github.com repos.
How do org admins approve it?
Through GitHub’s OAuth app approval.
🙏 Credit: Based on public information from the OpenAI Help Center. ChatGPT is a product of OpenAI. Source: help.openai.com. Lord of the Wix is an independent agency and is not affiliated with OpenAI.