Fix Git 'refusing to merge unrelated histories' Error - How to Fix Git Clone Connection Timed Out-Fix Git 'index.lock' Error in VS Code

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.