I checked code in BlobFixture.cs and found some tests about reading file's contents like below.
using (var repo = new Repository(BareTestRepoPath))
{
    var blob = repo.Lookup<Blob>("a8233120f6ad708f843d861ce2b7228ec4e3dec6");
    var contentStream = blob.GetContentStream();
    Assert.Equal(blob.Size, contentStream.Length);
    using (var tr = new StreamReader(contentStream, Encoding.UTF8))
    {
        string content = tr.ReadToEnd();
        Assert.Equal("hey there\n", content);
    }
}
But I cannot find a test that getting file's contents based on file's name. Is it possible to do that, if so how?
 
    