FIXED: Failed to load file differences, The GitHub repository could not be found, or you lack permissions. Please ensure the AI Studio GitHub App is installed

Finally, I found how to fix this problem!

Failed to load file differences, The GitHub repository could not be found, or you lack permissions. Please ensure the AI Studio GitHub App is installed.

Full Instructions to Restore Your Synchronization

Assumption: Your GitHub repository name is my-project.

  1. Go to GitHub and rename your current repository from my-project to my-project-old.
  2. Go to GitHub Settings → Applications, then uninstall Google AI Studio from the Installed GitHub Apps section.
  3. In the same Applications page, revoke Google AI Studio from the Authorized GitHub Apps section.
  4. Go to aistudio.google.com and open your project from the app list.
  5. Open the GitHub menu from the right panel. Under Sync to GitHub, disconnect/unlink the previous connection, then link it again. Do not create a new repository — just leave it as is.
  6. Remix your project.
  7. Open the remixed project.
  8. Open the GitHub menu from the right panel. Under Sync to GitHub, enter a new repository name.
  9. Set the new repository name to my-project.
  10. Go back to GitHub and delete the newly created repository named my-project.
  11. Rename the old repository my-project-old back to my-project.

This do not work. it’s a bug Google Ai sudio side