Fix Git Authentication Failed in VS Code on Linux - Chrome Sync Stuck on Waiting for Sync: Practical Fixes-Fixing a Detached HEAD in Git with SourceTree

Prepare
Execute
Validate
Document
Operational follow-up
- Record the exact option, command, or setting that changed the result.
- Keep a rollback note if the workflow affects shared files or team settings.