Fix git index.lock File Exists Error on Windows - VS Code Git Not Detecting Changes in Workspace: Fixes-How to Merge Unrelated Histories in Git

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.