Fix npm Global Install Permission Denied Without Sudo - VS Code Git Changes Missing from Source Control-Fix Git Refusing to Merge Unrelated Histories

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