Fix Docker Compose Port Already Allocated Error - Recover from Git Detached HEAD After Rebase-Resolve Git Authentication Failed in VS Code macOS

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