Fix VS Code Git Authentication Failed with Two-Factor Auth - Git Detached HEAD: Find and Restore Missing Changes-Fix Cloudflare 522 Connection Timed Out Error

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