git clone does not get all branches code example
Example: git clone does not get all branches
git clone <url to repository>
git branch -a
git checkout <desired branch>
git clone <url to repository>
git branch -a
git checkout <desired branch>