git_remote_free automatically disconnects if still connected