// This command gets all the branches that contain the specific commit id git branch --contains $COMMIT_ID
git branch --contains $COMMIT_ID