Frequently asked questions for git and git workflows.

What is a “remote”?

The term “remote” is any remote destination that you may want to push or pull from. This is often a git repository hosted on a git server like those run by Github.

You can have multiple remotes.

You can view the remotes you have set with git remote and git remote -v gives you more important information.

$ git remote -v
origin (fetch)
origin (push)

You can add new remotes via git remote add <destination> eg

$ git remote add michaelficarra

You can change the destination via git remote set-url <remote> <destination>

$ git remote set-url origin