Fix Git 'fatal: refusing to merge unrelated histories' on GitHub - Fix npm install Permission Denied When Using nvm-Docker Container Exits Immediately: No Error, Common Fixes

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.