Fix 'Python Not Recognized' Error on Windows 11 - Fixing Git Unrelated Histories Merge Error-SourceTree Detached HEAD: How to Fix It

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