take pull from master branch code example Example: how to pull from a branch in git git pull origin other-branch