Fix VS Code Terminal Not Opening with Node - Git Detached HEAD Explained and How to Fix-How to Fix Git Unrelated Histories Error When Merging Branches

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