This is an old revision of the document!
adding a remote
If you clone a repo, the repo you cloned from will automatically be configured as a remote named “origin”. If you want to set up a remote after the fact, do this
$ git remote add origin /path/to/project.git
Now tell git to update your remote:
$ git push origin master Everything up-to-date