Fix VS Code Source Control Not Detecting Changes After Branch Switch - Resolve 'Permission Denied' in Visual Studio Code-How to Fix Windows Update Stuck with Error 0x80070080

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