Why doesn't `git clone` clone all the branches?
This question already has an answer here:
git branch
only shows local branches by default; use git branch -r
to see remote branches or git branch -a
to see all. git clone
only creates one local branch, master
by default, which tracks (again, by default) the master
branch on the remote repository.