Fix Git Lock File Not Deleted After Crash - Fix Git Merge Refusing Unrelated Histories-Fix Python Virtual Environment Not Working Windows 10

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