Fix 'pip externally managed environment' on Ubuntu 23.04 - Troubleshooting VSCode Source Control Detection-Git Remote Origin Exists: Updating URL Instead of Adding

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