Git Detached HEAD: Practical Checklist and Fixes - How to Resolve Git Auth Failed in VS Code with Token-How to Resolve Defender Configuration Error

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