Fix pnpm Install Failures in CI/CD Pipelines - Git Merge --allow-unrelated-histories vs Rebase Guide-Fix VS Code Git Authentication Failed with Two-Factor Auth

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