Hey, this is a known issue. Source Control can sometimes get stuck on “Scanning workspace for Git repositories…” when you have multiple repos inside the same parent folder.
The most reliable workaround right now is to disable full directory scanning:
- Settings
Cmd+Shift+,then search forgit.autoRepositoryDetection - Set it to
openEditors
This skips the recursive scan of subfolders, which is what causes the freeze. If your repos don’t get picked up automatically after this, open any file from the repo you want and it should detect it.
You can also try restarting the built-in Git extension Extensions > @builtin git > Restart and tweaking git.repositoryScanMaxDepth.
We’ve logged the bug, but I can’t share an ETA for a fix yet. Let me know if the workaround helped. Related threads for context: Source Control hangs on “Scanning workspace for Git repositories...” and Scanning folder for Git repositories.