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
GitHub availability report: February 2026
In February, we experienced six incidents that resulted in degraded performance across GitHub services.
Addressing GitHub’s recent availability issues
GitHub recently experienced several availability incidents. We understand the impact these outages have on our customers and are sharing details on the stabilization work we’re prioritizing right now.
GitHub availability report: January 2026
In January, we experienced two incidents that resulted in degraded performance across GitHub services.