How to Fix Git Detached HEAD State and Undo Changes - Edge Sync Stuck on Sign In: How to Break the Loop-Docker Compose Environment File Override Troubleshooting

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