Fix 'fatal: refusing to merge unrelated histories' in Bitbucket - Troubleshooting Nginx 502 Errors in Docker Logs-Fix Python Permission Denied When Installing Packages with Conda

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