VS Code Git Not Detecting Changes: Step-by-Step Fix - How to Fix Git Index Lock File Exists Error-Fix PowerShell Execution Policy Restricted in VS Code

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