# Pull changes from the master or other branch

> Checkout the branch on to which you want the changes. git checkout branchname Pull and Merge changes from master(replace with other branch name) git merge origin/master Push to save changes git push origin branchname…

- Canonical: https://preview.arshadmehmood.com/today-i-learned/git/pull-changes-from-the-master-or-other-branch/
- Section: git
- Author: Arshad Mehmood

### Checkout the branch on to which you want the changes.
`git checkout branch_name`

### Pull and Merge changes from master(replace with other branch name)
`git merge origin/master`

#### Push to save changes
`git push origin branch_name`

Learned from [Stackoverflow](https://stackoverflow.com/questions/3876977/update-git-branches-from-master)

