Get the next commit from the revision traversal.
the walker to pop the commit from.
GIT_SUCCESS if the next commit was found; GIT_EREVWALKOVER if there are no commits left to iterate