VS Code Git Changes Not Detected After Save: Fixes - Understanding and Fixing Git Detached HEAD State-Python File Encoding Error: How to Fix UnicodeDecodeError

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