Update ref with PATCH method.
http://developer.github.com/v3/git/refs/#update-a-reference