Git Merge Unrelated Histories: When and How to Use --allow-unrelated-histories - Resolve npm Build Failures from Missing Packages-Fix 'pip externally managed environment' Error in Python 3.12

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