Fix VS Code Source Control Not Detecting Changes in Subfolder - Git Detached HEAD Warning: What It Means and How to Fix It-How to Enable Windows Defender Real-Time Protection via Command Line

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