Thanks to visit codestin.com Credit goes to libgit2.org
Get the id of a commit.
a previously loaded commit.
object identity for the commit.