Fix Git Push Rejected: Non-Fast-Forward Error - Git Detached HEAD: How to Fix and Prevent-How to Add Python to PATH Windows 11

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