Google Gemini integration with GitHub #184555
-
Select Topic AreaQuestion BodyHelp, I want to connect Google Gemini account to GitHub in order for it to see a private repo. On my Github account I've installed and authorized google integrations, and given permissions to read the private repo. And on Google Gemini I've given it permissions to connect with GitHub (shows connected). Yet it still cannot access. Any ideas how to solve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hey, I can see why this is frustrating. The connection between GitHub and Google Gemini can be a bit finicky, especially with private repos. |
Beta Was this translation helpful? Give feedback.
-
|
At the moment, Google Gemini does not have reliable support for reading private GitHub repositories, even if the GitHub app is installed and authorized. The connection only works consistently for public repos. This is a known limitation of the current Gemini GitHub integration, not a permission issue on your side. What you can do: Make the repo public (if possible), or Use a GitHub PAT (Personal Access Token) and paste code manually, or Use tools like Cursor / Copilot / ChatGPT that support private repo access via tokens. Why it happens: Gemini’s GitHub connector only supports limited API scopes and often cannot clone or browse private repos properly yet. Summary You didn’t configure it wrong — Gemini simply doesn’t fully support private GitHub repos yet. |
Beta Was this translation helpful? Give feedback.
Hey, I can see why this is frustrating. The connection between GitHub and Google Gemini can be a bit finicky, especially with private repos.
So here's the thing, even though you've connected both sides, there's usually a step that gets missed. After you've authorized the Google integration on GitHub and given it access to your private repo, you need to make sure that specific repository is actually selected in the integration settings. Sometimes the connection shows as "active" but the repo permissions aren't fully synced yet.
Try going back to your GitHub settings, then navigate to Applications under Integrations, and find the Google/Gemini integration there. Click into it and double, ch…