Skip to content

Pull

← All terms · Git fundamentals

The act of downloading the latest changes from a remote repository and immediately merging them into your current local branch.

What it is

A pull command is essentially two commands combined: a fetch followed by a merge. It reaches out to the remote server, downloads any new commits that teammates have uploaded, and integrates those changes directly into the files you are currently working on.

When you would use it

You use pull when you want to immediately update your local files with the latest team changes from the server.

Common operations

  • Syncing your local main branch with the central remote main branch before starting a new feature.
  • Receiving code updates from a collaborator.

Related terms

Where this is taught

No learning path uses this term yet. Browse the Learning Atlas for guided sequences through related ideas.

Going deeper