Fix 'Python Is Not Recognized as an Internal or External Command' - Fix Git Refusing to Merge Unrelated Histories-Resolve Stale Git Lock File During Pull

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