Fix Git Detached HEAD State in Visual Studio Code - Troubleshooting VS Code Terminal Blank Screen-Git Remote Set-URL Tutorial

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