How to Fix Git Detached HEAD and Checkout a Branch - Fixing Nginx Connection Refused to Upstream-Docker No Space Left on Device: Check Disk Usage

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