Update the tips to the new state
the remote to update
The identity to use when updating reflogs
The message to insert into the reflogs. If NULL, the default is "fetch <name>", where <name> is the name of the remote (or its url, for in-memory remotes).
0 or an error code