Fix 'fatal: refusing to merge unrelated histories' in Git - Git Pull Refusing to Merge Unrelated Histories Fix-Node.js Heap Out of Memory on Windows: How to Fix

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