Fix Git 'index.lock file exists' Error - How to Reset Remote Desktop Connection Settings-How to Resolve 'git remote origin already exists' on GitLab

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.