prow/github/client.go
func (c *Client) GetSingleCommit(org, repo, SHA string) (SingleCommit, error) {
	c.log("GetSingleCommit", org, repo, SHA)
	var commit SingleCommit
	_, err := c.request(&request{
		method:    http.MethodGet,
		path:      fmt.Sprintf("/repos/%s/%s/commits/%s", org, repo, SHA),
		exitCodes: []int{200},
	}, &commit)
	return commit, err
}
func (c *Client) GetSingleCommit(org, repo, SHA string) (SingleCommit, error) {
	c.log("GetSingleCommit", org, repo, SHA)
	var commit SingleCommit
	_, err := c.request(&request{
		method:    http.MethodGet,
		path:      fmt.Sprintf("/repos/%s/%s/commits/%s", org, repo, SHA),
		exitCodes: []int{200},
	}, &commit)
	return commit, err
}
// GetSingleCommit returns a single commit.
//
// See https://developer.github.com/v3/repos/#get