Fix Git 'index.lock file exists' Error - Docker Container Exits Immediately After Docker Compose Up-Stop Edge Sync Sign-In Loop with These Fixes

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