I have a repository on Github with 2 branches: master
and develop
.
When I clone the repository and run $ git branch
it shows only
When you clone a repository you will get all branches and all commits that can be reached from any of those branches.
You will however not get a local branch of any other branch than master. The other ones are there as remote branches (remotes/origin/development) and you can check out any of those whenever you want. git will then set up tracking between the remote branch and the local one that you created when you did the check out.