The signature of a function matchin git_repository_init, with an aditional void * as callback payload.
Callers of git_clone my provide a function matching this signature to override the repository creation and customization process during a clone operation.
path in which to create the repository
whether the repository is bare. This is the value from the clone options
payload specified by the options
0, or a negative value to indicate error