在分支機構中搜尋

列出包含特定提交或標記的本地分支

git branch --contains <commit>

列出包含特定提交或標記的本地和遠端分支

git branch -a --contains <commit>