Which Branches Have This Commit?
Imagine you have found an important commit in a complex git tree. Now you'd like to know which branches have this commit. Are the commit's changes on the branch we just deployed to staging?
--contains to the rescue:
$ git branch --contains <SHA> * master * staging * feature/killer-feature
These three branches contain commit