Git: Add remote

Add a remote to your Git repository by typing:

git remote add origin [repository]

For example, if your remote is on a VPN at a machine you call remotemachine in a directory called /srv/git/example, then type:

git remote add origin remotemachine:/srv/git/example

10 / 2021