Add support for retriving a single ref

Implements the following api method
https://developer.github.com/v3/git/refs/#get-a-reference