Set the target of a reference
Set the target of the specified reference. This reference must be locked.
reference to update
signature to use in the reflog; pass NULL to read the identity from the config
message to use in the reflog
0, GIT_ENOTFOUND if the reference is not among the locked ones, or an error code