Fix 'Git Remote Origin Already Exists' Error - Fixing Python UnicodeDecodeError in ftplib-Git index.lock Error: Causes and Fixes

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