Fix Windows Update Error 0x80070002 Due to Network Issues - Fix Git Push Rejected Non-Fast-Forward After Pull-How to Merge a Git Detached HEAD Back to Master

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