This is a known bug with git repository scanning on Windows. Our team is tracking it. Merging this into an existing thread where we’re tracking the same issue: Scanning folder for Git repositories
In the meantime, the most effective workaround: open Settings (Ctrl+,), search for git.autoRepositoryDetection, and set it to openEditors. This skips the full directory scan and should prevent the hang on startup.