If I'm loking at a commit on GitHub (for example), how can I tell what branch that commit is associated with?

1 Answer 1


Your wish is their new feature

If the commit is not on the default branch, the indicator will show the branches which contain the commit. If the commit is part of an unmerged pull request, a link will be shown.

Once the commit makes it to the default branch, any tags that contain the commit will be shown, and the default branch will be the only branch listed.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.