Git Fatal: Refusing to Merge Unrelated Histories – Workaround - How to Fix Git Detached HEAD and Checkout a Branch-Node Sass Build Failure: Node Version Mismatch 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.