Add Remote Address : Git allow you to fetch and commit the repository from remote address. Before doing any operation using remote address you need to specify the remote address for the repository. We can connect with remote repository using one of two protocols one is HTTPS and second is SSH.
Once added the remote address you can push the latest commit to remote address and also can fetch the latest records from the remote repository. To set the remote location for the repository you can use the following command :