Git Detached HEAD Warning Explained: Causes and Fixes - Troubleshooting Docker Container Exiting with 'not found'-Fix 'fatal: refusing to merge unrelated histories' in Bitbucket

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