Callbacks to use for this fetch operation
Extra headers for this fetch operation
Determines how to behave regarding tags on the remote, such as auto-downloading tags for objects we're downloading or downloading all of them.
Proxy options to use, by default no proxy is used.
Whether to perform a prune after the fetch
Whether to write the results to FETCH_HEAD. Defaults to on. Leave this default in order to behave like git.
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;