Adding a new remote repository is as simple as typing the git remote add command in the directory where your repository is stored on the terminal. Two arguments are required for the git remote add command: a name of a distant origin.