GitHub Commits API

The GitHub Commits API lets you list, retrieve, and compare commits in a repository, as well as manage commit comments and commit statuses. It provides endpoints for viewing commit details, listing pull requests associated with a commit, getting the combined status for a ref, and creating status checks that report build or test results.

Documentation