Fix Git 'refusing to merge unrelated histories' Error - Fix 'Permission Denied' When Using mkdir in VS Code Terminal-Resolve Git Remote Origin Already Exists

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