title: How to git clone a specific tag only without getting the whole repo?
body: <p>I want to get <a href="https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tag/?h=v2.6.22.19" rel="noreferrer">linux kernel 2.6.22.19 source</a> for cross compiling stuff for my router, but the repo is huge (3gb) if I do</p>
  
  <pre><code>git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
  </code></pre>
  
  <p>and then check out that tag, the clone took forever, my bandwidth is limited.</p>
  
  <p>if I run this</p>
  
  <pre><code>git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git --branch v2.6.22.19 --single-branch
  </code></pre>
  
  <p>the filesize recived is around 150mb, is this the correct way of doing it, what does this command likne mean ? v2.6.22.19 is a tag name right? why it can bed added after --branch ?</p>
  
  <p>after cloning.</p>
  
  <pre><code>[oglop@localhost linux-stable]$ git status
  # Not currently on any branch.
  </code></pre>