| Syntax | Comment |
http, https | http[s]://host.xz[:port]/path/to/repo.git/ | Two different modes: smart and dumb HTTP. |
ssh | ssh://[user@]host.xz[:port]/path/to/repo.git/ | |
git | git://host.xz[:port]/path/to/repo.git/ | Native protocol without authentication, should only be used with caution on unsecured networks. (See also git daemon ). |
ftp, ftps | ftp[s]://host.xz[:port]/path/to/repo.git/ | Inefficient and can only be used for fetching. Deprecated. |
local repositories | /path/to/repo.git/ , file:///path/to/repo.git/ | The remote repository is located on the same host |