Pip Externally Managed Environment vs Virtual Environment: Fixes - Git Unrelated Histories Error Workaround-Fix Git 'refusing to merge unrelated histories' Error

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