Connect GitHub to ChatGPT: New Deep Research Feature in Beta

Chatgpt

The new GitHub connector for ChatGPT Deep Research is now available globally for Team users. It’s also gradually rolling out to Plus and Pro users except for those in the European Economic Area (EEA), Switzerland, and the UK. Access for Enterprise users will be announced later.

This feature is still in beta. If you're a Team user, it should already be available. If you're on Plus or Pro, you might see it soon.

Just note: GitHub is a third-party service, so it follows its own terms and conditions.

Why Can’t I See All My Repositories?

There might be a 5-minute delay after connecting your GitHub account before your repositories show up in ChatGPT. Here are more possible reasons.

Private or New Repositories

  • If your repo is private or was created after linking GitHub, it might not appear right away.
  • Go to ChatGPT Settings Connected Apps GitHub Gear icon to manage access.

Admin Approval Needed

  • Your organization's GitHub admin might have restricted the connector.
  • In that case, you'll need to click "Request Access" using the same Gear icon.

Not Indexed Yet

  • If GitHub hasn't indexed your repo yet, the connector won't find it.
  • You can manually trigger indexing by searching in GitHub like this.
  • repo: username/repo_name import
  • Wait 5–10 minutes after that.

How Deep Research Works with GitHub?

Once connected, ChatGPT can access live data from your GitHub repositories like code, README files, and documentation, and analyze it in real-time. Just ask a question, and Deep Research will read your repo, understand it, and show you cited results directly from your codebase.

Github

How do you connect GitHub to ChatGPT Deep Research?

You can connect GitHub in two ways.

In the ChatGPT composer.

  • Click Deep research
  • Tap the down arrow
  • Select GitHub

In ChatGPT Settings

  • Go to Connected Apps Connectors
  • Click Connect next to GitHub

Later, to change which repositories are connected, click the Gear icon next to GitHub in settings. That will take you to GitHub’s settings page where you can modify access.

What Does ChatGPT Send to GitHub?

ChatGPT uses your prompts to generate search queries and sends them to GitHub to find matching info in your repos.

Example

If you ask, “Where do I handle file uploads?”

ChatGPT might search your repos using

file upload handler backend

It may perform several searches to find the most relevant results.

Does OpenAI Train Models on My GitHub Content?

No, not by default. Here's how it works.

  • For business users (Team, Enterprise, Edu, API): Your content is not used to improve OpenAI’s models.
  • For individual users (Free, Plus, Pro): Your content may be used only if your setting “Improve the model for everyone” is turned on.
  • You can check and change this in your ChatGPT settings.

How Can GitHub Admins Approve the Connector?

GitHub organization admins can follow GitHub's OAuth app approval process to allow ChatGPT to access the repos.

Can I Search for Individual Files?

No, currently you can only search by repository names. Searching for specific file names inside repositories is not supported yet.

OpenAI