Fix 'git remote origin already exists' Error in GitLab - Resolve 0x80070002 Update Failed Error-Fix Nginx 502 Bad Gateway: Upstream Connection Refused

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