Fix Git Lock File Not Deleted After Crash - Fix pip Permission Denied Error: Step-by-Step-Fix 'Git Remote Origin Already Exists' When Updating Remote URL

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