How to Fix Git Detached HEAD State and Undo Changes - How to Resolve Git Clone Connection Timed Out Over HTTPS-Docker Compose: Fix 'Port Already in Use on Host' Error

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