title: git clone -b tag results in - warning: Remote branch not found in upstream origin, using HEAD instead
body: <p>If you try to clone a git repo and checkout a tag in a single command by using the <code>-b</code> or <code>--branch</code> flag for clone:</p>
  
  <pre><code>git clone -b v0.8.2 https://github.com/chaoslawful/lua-nginx-module.git
  </code></pre>
  
  <p>You may run into an error such as:</p>
  
  <pre><code>warning: Remote branch v0.8.2 not found in upstream origin, using HEAD instead
  </code></pre>