@param remote the remote to update
@param reflog_message The message to insert into the reflogs. If
null and fetching, the default is "fetch <name>", where <name> is
the name of the remote (or its url, for in-memory remotes). This
parameter is ignored when pushing.
@param callbacks pointer to the callback structure to use
@param update_fetchhead whether to write to FETCH_HEAD. Pass 1 to behave like
git.
@param download_tags what the behaviour for downloading tags is for this
fetch. This is ignored for push. This must be the same value passed to
git_remote_download().
@return 0 or an error code
Update the tips to the new state
@param remote the remote to update @param reflog_message The message to insert into the reflogs. If null and fetching, the default is "fetch <name>", where <name> is the name of the remote (or its url, for in-memory remotes). This parameter is ignored when pushing. @param callbacks pointer to the callback structure to use @param update_fetchhead whether to write to FETCH_HEAD. Pass 1 to behave like git. @param download_tags what the behaviour for downloading tags is for this fetch. This is ignored for push. This must be the same value passed to git_remote_download(). @return 0 or an error code