Fix Git Detached HEAD State in Visual Studio Code - Resolve Git Refusing to Merge Unrelated Histories-Git SSL Error: Unable to Get Local Issuer Certificate

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