Add method to get a single commit