Fix 'fatal: refusing to merge unrelated histories' in Bitbucket - Switching from Cloudflare Origin Certificate to Let's Encrypt-How to Fix Git SSL Certificate Error on Command Line

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