How to Fix Git index.lock File Exists Error on Mac - Docker Compose Port Already Allocated Error Fix-Overcoming 'remote origin already exists' in Git

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