REST API endpoints for commits - GitHub Docs
Use the REST API to interact with commits.