Understanding and Fixing Git Detached HEAD State - Python venv Activation Not Working in CMD-Fix Git Non-Fast-Forward Push Rejection

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