title: How to get Older content of a file using libgit2sharp, or Octokit?
body: <p>The following StackOverflow entry explains how to get the latest content of a textual file from GitHub.com, by using libgit2sharp:
  <a href="https://stackoverflow.com/questions/22034239/how-to-get-files-contents-on-git-using-libgit2sharp">How to get file&#39;s contents on Git using LibGit2Sharp?</a></p>
  
  <p>But I need to input a date-time of perhaps a month ago, and get back the content as it was on that date-time. I thought I had a solution, but it fails before getting far enough:</p>
  
  <pre><code>// This C# fails after returning a few entries. After 10 minutes says out of memory.
  
  IEnumerable&lt;LogEntry&gt; enumbLogEntries_LogEntry_qb = repo.Commits
    .QueryBy("articles/sql-database/sql-database-get-started.md");
  
  foreach (LogEntry logEntry in enumbLogEntries_LogEntry_qb)
  {
    Console.WriteLine(logEntry.Commit.Committer.When); // Date.
  
    // I hope to use logEntry.Target to get the blob of content, I think.
  }
  </code></pre>
  
  <p>I am also trying with Octokit for .NET, but again I can only get the latest content. Any solution would be appreciated. I confess that heavy GIT terminology can make answer unintelligible to me.</p>