Fix VSCode Git Authentication Failed: Reset Credentials - Fix 'externally-managed-environment' in pip-Setup Git Mergetool for Conflict Resolution

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