module Github::Repos::Commits
def get_commit(user, repo, sha)
@github.repos.get_commit('user-name', 'repo-name', '6dcb09b5b57875f334f61aebed6')
@github = Github.new
Examples:
Gets a single commit
def get_commit(user, repo, sha) get("/repos/#{user}/#{repo}/commits/#{sha}") end