Unregister a custom transport definition which was previously registered with git_transport_register.
The caller is responsible for synchronizing calls to git_transport_register and git_transport_unregister with other calls to the library that instantiate transports.
From the previous call to git_transport_register
0 or an error code