GitHub : Tags that include a specific commit

Viewed 2125

On Github, when you access the page corresponding to a commit - like this - you can see the following:

Commit page

I imagine that next to the branch (master) the page is showing the repository tags that include that specific commit (in this case: 4.8.0, 4.7.1, 4.7.0, 4.6.2, 4.6.1 and 4.6.0).

Is there a way to access that information through GitHub REST API, or through GIT command line tools?

2 Answers
Related