<p>My <code>master</code> and <code>development</code> branches are tracked remotely on <a href="http://en.wikipedia.org/wiki/GitHub" rel="noreferrer">GitHub</a>. How do I clone both these branches?</p>

A
```
git clone
```
is supposed to copy the entire repository.  Try cloning it, and then run
```
git branch -a
```
.  It should list all the branches.  If then you want to switch to branch "foo" instead of "master", use
```
git checkout foo
```
.