Fix Git index.lock File Exists Permission Denied Error - Fix npm Permission Denied by Changing Global Directory-Fix Git Merge Conflict Auto Resolve Failures

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