Fix Git Push Non-Fast-Forward and Permission Denied Errors - How to Fix a Detached HEAD in Git Using SourceTree-Fix Windows 11 Installation Assistant Stuck at 99%

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