VS Code Source Control Not Detecting Changes After Git Reinstall - How to Reset Windows Defender Real-Time Protection-Fixing Detached HEAD in Git Without Losing Commits

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