kohsuke/github-api — pull request #30 by mc1arke (2013-02-16 00:00:35+00:00)
Title: Adding Compare and Refs commands to API

Supporting http://developer.github.com/v3/git/refs/ and http://developer.github.com/v3/repos/commits/#compare-two-commits

I've not checked in my unit tests for this since the current tests don't work properly (they perform actions not available to some users) and don't want to add further tests like this.