Fix VSCode Git Authentication Failed: Reset Credentials - Avoid Python Memory Crashes During Large File Generation-How to Remove Git index.lock File on Linux

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