Fix 'git pull failed index.lock file exists' Error - Fix Git 'refusing to merge unrelated histories' Error-macOS Git SSL Certificate Problem Troubleshooting

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