Fix VS Code Source Control Not Detecting Changes on Windows 11 - Git Detached HEAD: VS Code Troubleshooting-Prevent MemoryError When Reading Large Files in Python

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.