Fix VS Code Git Authentication Failed with Two-Factor Auth - Python venv Troubleshooting Guide-Recover from Git Detached HEAD State

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