Git Merge Unrelated Histories: When and How to Use --allow-unrelated-histories - How to Resolve npm install Permission Denied in CI/CD-Resolve Python pip Permission Denied on Linux/macOS/Windows

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