Gets the commit ID that the given git_annotated_commit refers to.
the given annotated commit
commit id
See Implementation
Gets the commit ID that the given git_annotated_commit refers to.