Thanks to visit codestin.com Credit goes to libgit2.org
Gets the commit ID that the given git_annotated_commit refers to.
git_annotated_commit
commit id