Windows Explorer Keeps Restarting in Windows 11: Fixes - How to Resolve Git Non-Fast-Forward Push Rejection-Detached HEAD in Git: Step-by-Step Recovery

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