Google AI Studio lost GitHub repository binding after reconnect — existing workspace only shows “Create new repository”

I am experiencing what appears to be a repository-binding issue between Google AI Studio Build Mode and GitHub.

My existing AI Studio application was previously synchronized normally with a private GitHub repository:

Repository: GelisonClementino/TecVitta-Medical
Branch: main

The integration had been working correctly for a long time. I disconnected and reconnected the GitHub integration after experiencing a sync problem. Since then, the original AI Studio workspace no longer recognizes the repository as its connected repository.

In Settings → GitHub, the original workspace now only displays:

“A new GitHub repository will be created”

and the only available action is:

“Create new repository”

There is no option to reconnect or select the existing TecVitta-Medical repository.

What I have already verified

  • The GitHub repository still exists and is healthy.
  • The repository is private and not archived.
  • My GitHub account has administrator and push permissions.
  • The Google AI Studio GitHub App is installed on my GitHub account.
  • The GitHub App has explicit access to GelisonClementino/TecVitta-Medical.
  • GitHub OAuth/authentication appears to be working.
  • In Chrome DevTools, MakerSuiteService/GetGitHubAuthStatus returns HTTP 200 OK.
  • After clearing Network and Console and reopening the GitHub panel, no 401 or 403 GitHub authentication errors are produced.
  • The AI Studio GitHub import dialog can successfully see GelisonClementino/TecVitta-Medical and the main branch.
  • I successfully tested Import from GitHub in a temporary new AI Studio app. It imported approximately 691 files successfully.
  • However, the import dialog explicitly states that “Imported code won’t stay synced with GitHub.”
  • The newly imported test workspace also did not provide a way to establish normal synchronization with the existing repository, so I deleted that temporary app and returned to the original project.
  • I also tested the “Create new repository” flow far enough to confirm that AI Studio correctly detects that a repository with the same name already exists.

This demonstrates that AI Studio can:

  1. authenticate with GitHub;
  2. access the repository;
  3. list the existing repository and its main branch;
  4. import its contents;
  5. detect that its repository name already exists.

However, it cannot associate the existing AI Studio workspace with that existing GitHub repository anymore.

Expected behavior

The existing AI Studio application should remain associated with:

GelisonClementino/TecVitta-Medicalmain

or there should be an option in Settings to re-select/reconnect an existing GitHub repository after the GitHub integration is reauthorized.

Actual behavior

The workspace behaves as if it has never been connected to GitHub and only offers to create a new repository.

There is no visible option to rebind the workspace to the repository it was previously using.

Why this is critical

The original AI Studio workspace currently contains validated code changes that have not yet been published to GitHub.

I have preserved:

  • the original AI Studio workspace;
  • AI Studio Versions/checkpoints;
  • a downloaded ZIP backup of the current workspace;
  • the last official GitHub main state.

I cannot safely recreate the project from GitHub because that would start from the older main version and would not automatically include the unpublished changes currently present in the original AI Studio workspace.

I also do not want to create a second GitHub repository because that would create a parallel development history.

Request

Could the Google AI Studio team please verify whether the repository-binding metadata for this workspace was lost or invalidated when the GitHub integration was disconnected/reconnected?

Ideally, I need either:

  • the original GitHub repository association restored on the backend; or
  • a supported UI option to rebind an existing AI Studio workspace to an existing GitHub repository and branch, without creating a new repository or replacing the workspace.

I can provide additional screenshots, Network logs, workspace identifiers, and timestamps privately if required.

I have screenshots demonstrating:

  • the GitHub App permissions;
  • the existing repository being explicitly authorized;
  • GetGitHubAuthStatus returning 200 OK;
  • the original workspace showing only “Create new repository”;
  • the GitHub import dialog correctly detecting the existing repository and main;
  • successful import of the repository into a temporary workspace.

Important: I have intentionally not included Authorization headers, cookies, OAuth tokens, or other sensitive session data in this report.

Hi

Thank you for sharing this

Looking into this and will keep you updated on this thread

Hi @Gelison_Clementino

We have rolled out updates to our Github Integration

Could you please retry connecting your repository?

Please let us know if the synchronization is working as expected or if you run into any issues.

I am experiencing the same issue.

My Google AI Studio account and GitHub account use different email addresses, and this setup was working correctly before.

My existing AI Studio project was previously connected and synchronized with my existing GitHub repository.

GitHub account/repository:

vanjarijodi

The Google AI Studio GitHub App is installed on my GitHub account with:

- All repositories access

- Read and write permissions

However, in my ORIGINAL AI Studio project, the GitHub panel now shows only:

“Create new repository”

There is no option to select or reconnect my existing repository.

I have already refreshed AI Studio, logged out and logged back in, and verified the GitHub permissions. The problem still remains.

I do not want to create a new repository because I need to continue using my existing repository and preserve the existing Git history.

Could you please check whether the GitHub repository binding for the original AI Studio workspace was lost after the recent GitHub integration update, and provide a way to reconnect the existing repository?

I can provide screenshots of the AI Studio GitHub panel and GitHub App permissions.

Thank you.

I’m experiencing the same GitHub repository-binding issue described in this thread.

My original Google AI Studio Build Mode workspace was previously connected to an existing GitHub repository and was working normally.

The GitHub connection is now lost. When I open the GitHub sync panel in the existing workspace, it only shows:

“A new GitHub repository will be created”

and the only available action is:

“Create new repository”

There is no option to select or reconnect my existing repository.

My existing repository is:

wqxvx46mfc-svg/hadas-os

Branch: main

I have verified that the repository still exists, is healthy, and that I have the required permissions.

I do NOT want to create a new repository, as I need to preserve the existing repository, its history, and its connection to my deployment.

I have attached a screenshot showing the current GitHub sync screen in AI Studio.

Could you please check whether the GitHub repository binding for my existing AI Studio workspace has been lost or invalidated on the Google side?

I would like to restore/rebind the existing workspace to the existing GitHub repository rather than creating a new repository.

Thank you.

Google AI Studio GitHub Sync lost existing repository binding — only “Create new repository” appears

Hi Google AI Studio team,

I’m experiencing an issue with GitHub Sync in Google AI Studio Build mode.

This AI Studio workspace was previously connected and syncing successfully with an existing GitHub repository.

Now, when I open the GitHub Sync panel, it only shows:

“A new GitHub repository will be created”

and the only available action is:

“Create new repository”

There is no option to select or reconnect my existing GitHub repository.

I do NOT want to create a new repository because the existing repository already contains the complete project history and the latest changes.

Existing repository:
[PASTE YOUR GITHUB REPOSITORY URL HERE]

Latest GitHub commit:
40442753df43e4d7b475fd6007429efc964d3b6e

Commit message:
Fix background photo sync progress UI

The repository itself is still available on GitHub and the commit/history are intact.

Could you please help restore/rebind the existing GitHub repository to this AI Studio workspace?

I have not created a new repository and I do not want to overwrite or duplicate the existing repository.

Screenshot of the current GitHub Sync screen is attached.

Thank you.