How to Manually Remove a Stuck Git index.lock File - Recover from Git Detached HEAD After Rebase-Nginx 502 Bad Gateway in Docker PHP-FPM: How to Fix

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