Fix Git Pull Unrelated Histories Error: Step-by-Step - How to Fix 502 Bad Gateway with Nginx and Docker on Ubuntu-Git Clone Connection Timed Out? Firewall Fixes

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