Fix Git Push Rejected Due to Unrelated Histories - Debian 12 pip Externally Managed Environment Fix-pnpm audit fix not working: common causes and fixes

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