Git Merge Unrelated Histories: When and How to Use --allow-unrelated-histories - How to Resolve 502 Error with Docker Socket in Nginx-Docker Image Build Fails with Context Canceled

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.