git pull to branch code example
Example 1: how a to pull a branch in git
$ git pull origin other-branch
Example 2: how to git pull origin master
git pull origin
Example 3: how to pull from a branch in git
git pull origin other-branch
Example 4: git pull
git checkout new_feature
git pull