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