Fix Docker Nginx 502 Bad Gateway Upstream Error - Working Around pip's Externally Managed Environment-Fix 'Git Remote Origin Already Exists' in VS Code

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