# Git Pull

> The team's new commits come down from the remote into your branch.

**Field:** Software Development  
**Category:** Version Control  
**Also known as:** Pull

## Think of it like

Think of it like collecting your post and opening it at once. The new news is now on your desk.

## Definition

To pull is to bring new commits from a remote into your own branch. It is a fetch followed by a merge, done in one step. After a pull, your files match what the team has pushed. If you and someone else changed the same lines, you get a merge conflict to fix. Pulling often keeps those conflicts small.

## Example

Jack pulls first thing every morning. His copy then has everything Emma pushed the night before.

## Example code

```console
$ git pull
Updating 68ba79c..643e9b2
Fast-forward
 about.html | 1 +
```

Emma's new about page lands in Jack's files.

## Why it matters

Pulling keeps you working on the latest code. The longer you wait, the bigger the merge.

## Common mistake

Pulling with half-done changes in your files. Commit or stash them first, or the pull may stop.

## Three principles

- **Fetch plus merge.** Two steps done as one.
- **Changes your files.** Your branch catches up.
- **Pull often.** Small merges are easy merges.

## Related terms

- [Git Fetch](https://learn.benibix.com/term/development/fetch)
- [Git Push](https://learn.benibix.com/term/development/push)
- [Merge](https://learn.benibix.com/term/development/merge)
- [Merge Conflict](https://learn.benibix.com/term/development/merge-conflict)

## Told apart from

- [Git Fetch vs Git Pull](https://learn.benibix.com/compare/git-fetch-vs-git-pull): A fetch only downloads new commits and leaves your files alone. A pull downloads them and merges them in, in one step.

## Taught in

- [Git Clone, Push and Pull](https://learn.benibix.com/learn/development-version-control/git-clone-push-and-pull): Git and GitHub, 9/13

---

Source: https://learn.benibix.com/term/development/pull
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
