Which is the smarter git protocol, ssh or git(over ssh) or https protocol?
Which is efficient? SSH:// or Git:// (File compression) I understand in Git , git protocol is smart because there is a protocol agent on both end of communication to compress the file transfer resulting in faster clone by efficiently using the network bandwidth. From an O'Reilly book I found the following statements. For secure, authenticated connections, the Git native protocol can be tunneled over an SSH connection using the following URL templates: ssh: //[user@]example.com[:port]/path/to/repo.git ssh: //[user@]example.com/path/to/repo.git ssh: //[user@]example.com/~user2/path/to/repo.git