How to Fix Git Authentication Failed in VS Code - Edge Sync Error 0x80072efd Fix Guide-Fixing Detached HEAD in Git Without Losing Commits

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.