When you clone a repository with git clone, it automatically creates a remote called origin pointing to the cloned repository.
By default, the git remote command will list previously stored remote connections to other repositories:
git remotegit remote -vgit remote add <name> <url>git remote rm <name>git remote rename <old-name> <new-name>git remote show origingit push <remote-name> <branch-name>