Fix 'git remote origin already exists' Error on Mac - Fix Windows 11 Installation Assistant Stuck at 99%-Fix Git Lock File Not Deleted After Crash

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