Callback to resolve URLs before connecting to remote
If you return GIT_PASSTHROUGH, you don't need to write anything to url_resolved.
The URL to resolve
GIT_DIRECTION_FETCH or GIT_DIRECTION_PUSH
Payload provided by the caller
0 on success, GIT_PASSTHROUGH or an error