Fix Git 'refusing to merge unrelated histories' Error - Resolve npm Global Permission Denied on macOS/Linux-Bluetooth Not Detected in Windows 11: Troubleshooting Guide

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