title: How to list branches that contain a given commit?
body: <p>How can I query git to find out which branches contain a given commit? <code>gitk</code> will usually list the branches, unless there are too many, in which case it just says "many (38)" or something like that. I need to know the full list, or at least whether certain branches contain the commit.</p>