How to Fix Git Detached HEAD Error - Fix VS Code Source Control Not Detecting Changes on Ubuntu-Understanding Git Conflict Types: Merge vs Rebase

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