Single commit and diff of a commit

This adds methods for getting single commit and diff of a commit.