# Pull and Push

## Push

Push uploads all local branch commits to the corresponding remote branch. Push updates to the remote branch with local commits.

![](https://601772613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi7OgRVGOjQGJZ0iRyAc%2Fuploads%2FqMU2qFeVhkhJiZCPq2yJ%2FGroup%207.png?alt=media\&token=2313835d-0622-4cfd-8a80-16407af5e852)

## Pull

Pull is used to fetch and download content from a remote repository and immediately update the local repository to match that content.

![](https://601772613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi7OgRVGOjQGJZ0iRyAc%2Fuploads%2FhAOBJ0wCFZy4MtRMPkTR%2FGroup%208.png?alt=media\&token=d5be789d-7713-4e08-8d64-c0e1420dd949)
