Fix Git 'index.lock' File Exists Error on Linux - Passing Env Vars to Docker Compose Build-VS Code Git Credential Error Troubleshooting

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