Fix Docker Compose Environment Variable Not Set on Build - How to Disable Git in VS Code Properly-How to Resolve Git Detached HEAD

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