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: October 2025
In October, we experienced four incidents that resulted in degraded performance across GitHub services.
TypeScript, Python, and the AI feedback loop changing software development
An interview with the leader of GitHub Next, Idan Gazit, on TypeScript, Python, and what comes next.
What 986 million code pushes say about the developer workflow in 2025
Nearly a billion commits later, the way we ship code has changed for good. Here’s what the 2025 Octoverse data says about how devs really work now.