Fix VS Code Git Not Detecting Changes After .gitignore Update - Resolving 'index.lock file exists' in Git on macOS-How to Resolve Windows Cannot Access Shared Folder in HomeGroup

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