Skip to main content
Dan Rodney/1 min read

GitHub: Pull From a Remote Repository

Git Daily Workflow

1

Pull Latest

git pull origin main — start with up-to-date code.

2

Create a Branch

git checkout -b feature/X — never commit directly to main.

3

Commit Often

Small, focused commits with clear messages.

4

Push & PR

git push, then open a pull request for review.

Build Programming Foundations at Noble Desktop

Noble Desktop's Full-Stack Web Development Certificate teaches Git alongside the modern web stack — a must for any developer.

Learn about pulling changes from GitHub, including how to execute the pull command and when it's ideal to do so.

Pulling (Downloading) Your Changes

After someone else makes changes to the remote repo (GitHub), you can download (pull) their changes into your local repo.

How to Pull Changes from GitHub

Once the local Git repo knows about the remote repo (GitHub), you can use the Pull command. Here are some different ways to do that:

  • At the bottom left of the Visual Studio Code window (in the blue bar), click the Synchronize Changes button to pull and then push.

  • At the top right of Source Control panel click the More Actions button and from the menu choose Pull.

When to Pull

It’s a good idea to pull:

  • Before you start to work (so you have the latest changes)
  • Before you push (in case something has changed while you worked)