Get the next commit from the revision traversal.
Pointer where to store the next commit
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