# Github Sync to already existing repo

**URL:** <https://discuss.ai.google.dev/t/github-sync-to-already-existing-repo/176794>\
**Category:** Google AI Studio\
**Tags:** feedback, ai-studio, github\
**Created:** [August 1, 2026, 4:58am UTC](https://discuss.ai.google.dev/t/github-sync-to-already-existing-repo/176794 "2026-08-01T04:58:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterduckiest](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/peterduckiest/32/140076_2.png) [@peterduckiest](https://discuss.ai.google.dev/u/peterduckiest)\
**Post date:** [August 1, 2026, 4:58am UTC](https://discuss.ai.google.dev/t/github-sync-to-already-existing-repo/176794/1 "2026-08-01T04:58:45Z")

</div>

Hello.

Currently, the “Sync to GitHub” feature forces users to create a brand new repository every time. It does not allow us to select a repository that already exists in our GitHub account, regardless if you allowed it to access all your repos.

Maybe i just missed it and it already exists, who knows, but from what i found, I couldn’t find an option.

 ![Screenshot 2026-08-01 at 12.58.11 AM](https://d3qe71uytubmmx.cloudfront.net/original/3X/7/f/7fecfd790055683175d4cbf9a7ed3d741c6cdf7f.png)

---

<div class="post-metadata">

**Author:** ![DaveK](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/davek/32/131483_2.png) [@DaveK](https://discuss.ai.google.dev/u/DaveK)\
**Post date:** [August 1, 2026, 2:46pm UTC](https://discuss.ai.google.dev/t/github-sync-to-already-existing-repo/176794/2 "2026-08-01T14:46:31Z")

</div>

Yep. AFAIUI GitHub sync is strictly one way from AI Studio to GitHub, and is handled by the infrastructure outside of the development file workspace container; the file tree that you see in the AI Studio file explorer isn’t actually even a git repo.

---

<div class="post-metadata">

**Author:** ![DaveK](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/davek/32/131483_2.png) [@DaveK](https://discuss.ai.google.dev/u/DaveK)\
**Post date:** [August 1, 2026, 2:49pm UTC](https://discuss.ai.google.dev/t/github-sync-to-already-existing-repo/176794/3 "2026-08-01T14:49:10Z")

</div>

You can try this prompt to confirm that:

> Please run “npx --package=bash – bash -c git status”

Sorry, the em dash should in fact be double hyphens but I dunno how to make the markdown editor not convert them.

---

<div class="post-metadata">

**Author:** ![system](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/system/32/1_2.png) [@system](https://discuss.ai.google.dev/u/system)\
**Post date:** [November 5, 2026, 6:44pm UTC](https://discuss.ai.google.dev/t/github-sync-to-already-existing-repo/176794/4 "2026-11-05T18:44:38Z")

</div>

Closed on November 5, 2026, 6:44pm UTC

This thread was automatically closed 60 days after the last reply. If you are running into an issue, please create a new post.
