title: Finding what branch a Git commit came from
body: <p>Is there a way to find out what branch a commit comes from given its <a href="http://en.wikipedia.org/wiki/SHA-1" rel="noreferrer">SHA-1</a> hash value? </p>
  
  <p>Bonus points if you can tell me how to accomplish this using Ruby Grit.</p>