Setting up a git remote origin

Using SSH

git remote add origin ssh://login@IP/path/to/repository 

Using HTTP

git remote add origin http://IP/path/to/repository