How to Create a New Branch from a Detached HEAD in Git - Fix Docker Compose PostgreSQL Port Already in Use-Fix 'nginx -t test failed no such file or directory' Error

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