title: Download github release with curl
body: <p>On <a href="https://github.com/yarnpkg/yarn/releases/download/v0.23.4/yarn-v0.23.4.tar.gz" rel="noreferrer">this URL</a> I'm able to download a .tar.gz which contains an official release. (I know it's also available on an API endpoint but this contains the test package too.</p>
  
  <p>Now I'm wondering why this isn't working:</p>
  
  <pre><code>$ curl -O https://github.com/yarnpkg/yarn/releases/download/v0.23.4/yarn-v0.23.4.tar.gz
  </code></pre>
  
  <p>I get some <code>.tar.gz</code> which is 4KB instead of 3.6MB. It isn't showing an error. What am I missing? I want to use this URL and not the API if that's possible.</p>