Reply to Xcode server bot can't clone from github/bitbucket I had also a problem couldn't clone SPM in Xcode 13. It's appeared 'insteadOf' global git config is problem. Some reason, we need to use ssh not https to connect git or git enterprise in some devices. Developer Tools & Services Xcode Oct ’21