This version of GitHub Enterprise was discontinued on 2020-11-12. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Commit branch and tag labels

You can easily see what branch a commit is in by looking at the labels beneath the commit on the commit page.

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

Commit branch label

Once the commit is on the default branch, any tags that contain the commit will be shown and the default branch will be the only branch listed.

Commit-main-label

Further reading