Xcode 13 git pull fails with "The project you were looking for could not be found..."
I have a project open in Xcode 13.4.1. The project has a git repo, and I can interact with it perfectly through a command line. Inside Xcode it lists the same repo (loaded from GitLab over SSH with keys set via .gitconfig), the remotes and branches are visible, all looks good. When I go to Source Control -> Pull... and select the remote I want (origin/main), it fails with this error:
An unknown error occurred.
ERROR: The project you were looking for could not be found or you don't have permission to view it.
In a terminal, if I cd to the same directory and run `git pull`, it works fine. Similarly I can open the same project in a JetBrains IDE and git pull works fine from there too.
Is there some special incantation I need to make XCode use this repo?