Fix Git Push Rejected Non Fast Forward Remote Error - Recover from Git Detached HEAD State-How to Stop Windows Explorer from Triggering Automatic Repair

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