Rename the reflog for the given reference
the reference
the new name of the reference
0 or an error code