Fix Nginx Redirect Loop After SSL Certificate Install - How to Fix Git SSL Certificate Error on Windows, Mac, Linux-How to Exit Git Detached HEAD State

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.