How to Fix Git 'index.lock' File Exists Error - How to Fix Nginx 'Upstream Connection Refused' Error-Git Pull Failed: index.lock Exists Fix

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