Information found here: git branch --contains SOMESHA and to find only local ones: git branch -r --contains SOMESHA