I used the name from the response of the api...

http://developer.github.com/v3/git/commits/#get-a-commit