title: Git fetch remote branch
body: <p>The remote contains various branches such as <code>origin/daves_branch</code>:</p>
  <pre><code>$ git branch -r
  origin/HEAD -&gt; origin/master
  origin/daves_branch
  origin/master
  </code></pre>
  <p>How do I checkout <code>daves_branch</code> locally so that it tracks <code>origin/daves_branch</code>? I tried:</p>
  <pre><code>$ git fetch origin discover
  $ git checkout discover
  </code></pre>