title: How do I fetch all Git branches?
body: <p>I cloned a Git repository containing many branches. However, <code>git branch</code> only shows one:</p>
  <pre><code>$ git branch
  * master
  </code></pre>
  <p>How would I pull all the branches locally so when I do <code>git branch</code>, it shows the following?</p>
  <pre><code>$ git branch
  * master
  * staging
  * etc...
  </code></pre>