Fix git index.lock File Exists Error on Windows - Third-Party Antivirus Interfering with Edge Sync: Solutions-Git Detached HEAD: How to Save Your Work with a Branch

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