Options for connecting through a proxy
Note that not all types may be supported, depending on the platform and compilation options.
The URL of the proxy.
This will be called if the remote host requires authentication in order to connect to it.
Returning GIT_PASSTHROUGH will make libgit2 behave as though this field isn't set.
If cert verification fails, this will be called to let the user make the final decision of whether to allow the connection to proceed. Returns 0 to allow the connection or a negative value to indicate an error.
Payload to be provided to the credentials and certificate check callbacks.