Git: Find the branch that a given commit landed on
If you need to find the branch that a commit was checked in to use the following command:
git branch --contains 26495cfd4ab17d4d685d0d352ed333f73d6d1b96
This should show a list of branches, with the respective branched highlighted and preceed with an asterisk.