If you have a commit and you want to see in what branches is is included, you have to write this:
Copygit branch -r --contains [COMMIT-SHA]
git branch -r --contains [COMMIT-SHA]
-r is for remote