GraphQL - given a commit's SHA1 from git, find the branches it belongs to

Two questions:

  1. Is this possible using GraphQL? 
  2. What does the query look like?