title: Track all remote git branches as local branches
body: <p>Tracking a single remote branch as a local branch is straightforward enough. </p>
  
  <pre><code>$ git checkout --track -b ${branch_name} origin/${branch_name}
  </code></pre>
  
  <p>Pushing all local branches up to the remote, creating new remote branches as needed is also easy.</p>
  
  <pre><code>$ git push --all origin
  </code></pre>
  
  <p>I want to do the reverse. If I have X number of remote branches at a single source: </p>
  
  <pre><code>$ git branch -r 
  branch1
  branch2
  branch3
  .
  .
  .
  </code></pre>
  
  <p>Can I create local tracking branches for all those remote branches without needed to manually create each one? Say something like:</p>
  
  <pre><code>$ git checkout --track -b --all origin
  </code></pre>
  
  <p>I've googled and RTMs, but have come up bunk thus far. </p>