Creates a git_annotated_comit from a revision string.
See man gitrevisions, or
http://git-scm.com/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