GitHub Sync uses wrong GitHub account after connecting a second Google AI Studio project

Hello Team,

I’m facing a GitHub account/repository mismatch issue in Google AI Studio and would appreciate help understanding and resolving it.

Setup

I have two separate Google AI Studio projects, and each project was originally connected to its own GitHub account:

Project 1 (Older Project): Previously connected and synchronized correctly with GitHub Account A and its corresponding repository.

*Project 2 (New Project): Recently created and connected to GitHub Account B and its corresponding repository.

Project 2 is currently working correctly and continues to sync with GitHub Account B.

Problem

After creating and connecting Project 2, the GitHub integration of my older Project 1 unexpectedly changed.

When I open Project 1 and interact with GitHub, Google AI Studio now appears to communicate with GitHub Account B, instead of the GitHub Account A that was originally associated with Project 1.

I did not intentionally change or reconnect Project 1 to GitHub Account B.

The behavior is:

Project 1 → Originally GitHub Account A → Now incorrectly detecting GitHub Account B :cross_mark:

Project 2 → GitHub Account B → Working correctly :white_check_mark:

Important Troubleshooting Already Performed

I have already tested this on another computer/machine and reproduced the same behavior.

Therefore, this does not appear to be limited to a particular browser, browser cache, cookies, local session, or machine-specific configuration.

The issue appears to be related to the Google AI Studio/GitHub integration or account-level/project-level GitHub authorization.

Expected Behavior

Each project should retain its own GitHub association:

Project 1 → GitHub Account A → Project 1 repository

Project 2 → GitHub Account B → Project 2 repository

Connecting GitHub for Project 2 should not change or override the GitHub connection previously used by Project 1.

What I Need Help With

Could you please help me determine:

1. Why is the older Project 1 now detecting the GitHub account associated with Project 2?

2. Is the GitHub OAuth authorization managed globally rather than independently for each Google AI Studio project?

3. Could creating/connecting Project 2 have overwritten or replaced the GitHub authorization previously associated with Project 1?

4. Is there a Google AI Studio-side GitHub connection or authorization that needs to be reset?

5. How can I restore Project 1’s original GitHub connection without affecting Project 2?

6. Can Project 1 be explicitly re-bound to its original GitHub repository/account?

Important Requirement

I do not want to delete, recreate, rename, or modify either project or either GitHub repository.

I only want to restore the original GitHub association for Project 1, while keeping Project 2 unchanged and working with GitHub Account B.

I can provide Project ID/App ID privately if required.

Thank you.