I'm trying to create a new project in a fresh installation of TeamCity. I've successfully connected Bitbucket Cloud, and whenever I select a repository from the imported list, I get the following error:
Cannot find revision of the default branch 'refs/heads/master' of vcs root 'dummy VCS root (jetbrains.git)'
It just so happens that none of my git repositories have a 'master' branch. How do I change the default branch when creating new projects in TeamCity? There's no field to specify the default branch, so it fails before I can proceed, thus preventing me from creating even a single project in TeamCity.