Fix Docker Registry Authentication Failed Access Denied - Git index.lock File Exists: Fix Permission Denied-Resolve Git Remote Origin Already Exists

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