Add a new entry to the in-memory reflog.
msg is optional and can be null.
an existing reflog object
the OID the reference is now pointing to
the signature of the committer
the reflog message
0 or an error code
See Implementation
Add a new entry to the in-memory reflog.
msg is optional and can be null.