Actually, the method name is wrong (the underlying call is `git_revparse_single`), so I'll change the API instead.