How to Fix Git Detached HEAD and Checkout a Branch - Troubleshooting TypeScript Errors in npm run build-Fix pip Externally Managed Environment Errors

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