Fix Git Clone Timeout by Adjusting Config Settings - Understanding and Fixing Git Detached HEAD State-Resolve Nginx Syntax Check Failure in Ubuntu

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