title: How can I pull/make <commit_hash> into head, when I cloned the tree with --depth=1?
body: <p>I tried 3 different methods all of which return failures:</p>
  
  <p><strong>First try</strong> </p>
  
  <p><code>git pull origin &lt;\hash_here&gt;</code></p>
  
  <blockquote>
    <p>error: Server does not allow request for unadvertised object
    &lt;\hash_here></p>
  </blockquote>
  
  <p><strong>Second try</strong></p>
  
  <p><code>git checkout &lt;\hash_here&gt;</code></p>
  
  <blockquote>
    <p>fatal: reference is not a tree: &lt;\hash_here></p>
  </blockquote>
  
  <p>^ this one I quiet understand since it literally isn't in a tree</p>
  
  <p><strong>Third and last try</strong></p>
  
  <p><code>git clone https://github.com/repo/repo.git --depth=1 -b &lt;\hash_here&gt;</code></p>
  
  <blockquote>
    <p>warning: Could not find remote branch &lt;\hash_here> to clone.</p>
    
    <p>fatal: Remote branch &lt;\hash_here> not found in upstream origin</p>
  </blockquote>
  
  <p>I'm not quiet sure how to git yet so, if someone could steer me into the right direction, and I think my google-fu is weak.</p>