Branch and Tag Labels For Commit Pages
Have you ever looked at a commit page on GitHub and wondered what branch the commit was in? We did too. If the commit is not on the default branch,…
Have you ever looked at a commit page on GitHub and wondered what branch the
commit was in? We did too.

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.

Enjoy the additional commit context!
Written by
Related posts
How to navigate GitHub Universe (or any tech conference) if you’re an introvert
If alone time is your love language—don’t worry, it’s ours too—you can still attend, learn from, and enjoy big events like GitHub Universe. Here are some practical tips on how.
GitHub Availability Report: September 2025
In September, we experienced three incidents that resulted in degraded performance across GitHub services.
The developer role is evolving. Here’s how to stay ahead.
AI is changing how software gets built. Explore the skills you need to keep up and stand out.