To add a remote, use git remote add in the root of your local repository.

For adding a remote Git repository <url> as an easy short name <name> use

git remote add <name> <url>

The command git fetch <name> can then be used to create and update remote-tracking branches <name>/<branch>.