How to Fix Git Detached HEAD State and Undo Changes - Docker Compose: Fix Environment Variables with Special Chars-Resolve Node Version Incompatibility with npm Packages

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