See commit in git2r.

See also

Other version_control: pull, push, recent_commit, repository, status