Fix Git Push Rejected Due to Unrelated Histories - How to Solve pip Permission Denied on Linux and macOS-Fix Python Permission Errors in VS Code Terminal

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