After cloning a repository or adding a remote to your existing project, you can pull commits from the available Git remotes into your current branch via the Command Palette or the terminal.

Pulling via the Command Palette

Pulling from origin (the default remote)

  1. Open the Command Palette
  2. Run the Git: Pull command (type pull and press Enter) Git: Push

Pulling from another remote

  1. Open the Command Palette
  2. Run the Git: Push to remote command (type push to and press Enter) Git: Pull from remote in the Command Palette

  3. Type the name of the remote you would like to pull from Git: Pull from remote prompt

  4. Click on Pull or hit Enter when it is selected

Pulling to a remote using the terminal

To pull commits from a remote into the current branch running the following command in your terminal:

git pull remote-name