Push the OID pointed to by a reference
The reference must point to a commit.
the walker being used for the traversal
the referece to push
0 or an error code