Fix Git 'refusing to merge unrelated histories' Error - How to Resolve Git Remote Origin Already Exists on Windows-Fix pip Externally Managed Environment Error

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