Fix Python UnicodeDecodeError on Windows: Common Causes & Solutions - Fix Python UnicodeDecodeError with errors='ignore'-Fix 'fatal: refusing to merge unrelated histories' in Git

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