Git communicates with remote repositories over a network. That network can be your internal LAN, a VPN, or the Internet. Git provides three protocols for communicating with remote repositories:
Accessing a repository over Secure Shell (SSH) is similar to accessing a repository directly from the file system with one exception. Before the path to the repository, you add the domain name, and username if needed, for the remote repository.
The only difference between the SSH URL (shown below) and the basic file system URL is the addition of firstname.lastname@example.org. That tells Git to attempt to log on to the github.com server via SSH with the username git and then clone the repository located at the tswicegood/mysite-chp6.git ...