Fix Virtual Environment Not Activating in Terminal - Git Detached HEAD: Practical Checklist and Fixes-How to Fix package-lock.json Merge Conflicts

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