Fix Git Detached HEAD State in Visual Studio Code - How to Resolve Merge and Rebase Conflicts in Git-Windows 11 WiFi No Internet? Command Prompt Fixes

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