Fix Git 'index.lock' File Exists Error in IntelliJ - Permanent Fix for Nginx Infinite Redirect-Git Merge Conflict Abort Error Solutions

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