👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.
Article version: Enterprise Server 2.20

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.

Were you able to find what you were looking for?

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-master-label

Further reading

Were you able to find what you were looking for?

Ask a human

Can't find what you're looking for?

Contact us