title: Getting all versions of a file using GitHub blob api
body: <p>I want to know how to get all commits/versions of a file (i.e. the contents of the commits/versions) via the GitHub API.<br>
  I figured one way to do it which is equivalent to the answer to <a href="https://stackoverflow.com/questions/16700297/using-github-api-to-retrieve-all-versions-of-a-specific-file/16707165#16707165">this other question</a>. </p>
  
  <p>The problem is this uses the "contents" API, which has an upper limit of 1 MB per file (you get this error message if you try to access a file larger than 1 MB: "<code>This API returns blobs up to 1 MB in size. The requested blob is too large to fetch via the API, but you can use the Git Data API to request blobs up to 100 MB in size.</code>") </p>
  
  <p>So to get files larger than 1 MB (up to 100 MB) you need to use the "blob" API, but I don't know how to use it in the same way as the contents API. </p>
  
  <p>I.e., given a specific commit of a file, how do you get the contents of that file using the "blob" API?</p>