How to Push a Git Detached HEAD to Remote - Git Fatal: Refusing to Merge Unrelated Histories – Workaround-Windows Defender Stuck on Turning Off Real-Time Protection Fix

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