How to Fix Git Detached HEAD State and Undo Changes - Git Push Rejected Not Fast Forward Guide-Fix 'Secure Connection Failed' in Firefox Mobile

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