Fix Git 'index.lock file exists' Error - How to Merge Unrelated Git Branches Safely-How to Avoid Memory Errors in Python with Large Files

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