How to Fix Git Detached HEAD Error - Git Clone Timeout After 30 Seconds Troubleshooting-Docker Container Stops Instantly? Check Restart Policy

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