I just did
git fetch origin <remoteBranch>
And after that I just did
git checkout <remoteBranch>
That created a local branch with the name of <remoteBranch>
.
How does that just work? Normally when I want to create a local branch I have to do
git checkout -b