Fix Git index.lock File Exists Permission Denied Error - Understanding DNS Probe NXDOMAIN and Server Not Found-Git Detached HEAD IntelliJ Troubleshooting

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