Fetch options structure.
Zero out for defaults. Initialize with GIT_FETCH_OPTIONS_INIT
macro to
correctly set the version
field. E.g.
git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;
Whether to write the results to FETCH_HEAD. Defaults to on. Leave this default in order to behave like git.
Determines how to behave regarding tags on the remote, such as auto-downloading tags for objects we're downloading or downloading all of them.
The default is to auto-follow tags.
Whether to allow off-site redirects. If this is not specified, the http.followRedirects
configuration setting will be consulted.