We have some Git repositories without a master branch. Therefore, we configure a default branch in SCM manager (let's call this new default branch foo). My expectation is that when I clone this repository, that git checkout the branch foo automatically, because it is configured as default branch.
But actual I get following warning message
warning: remote HEAD refers to nonexistent ref, unable to checkout.
and I have checkout the branch foo manually.