The signature of a function matching git_remote_create, with an additional void* as a callback payload.
Callers of git_clone may provide a function matching this signature to override the remote creation and customization process during a clone operation.
the remote's name
the remote's url
an opaque payload
0, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code