Fix 'fatal: refusing to merge unrelated histories' in Bitbucket - Fix Git SSL Certificate Problem: Unable to Get Local Issuer Certificate-Python MemoryError When Loading Big JSON Files

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