git pull by branch name code example
Example 1: how a to pull a branch in git
$ git pull origin other-branch
Example 2: git pull
git checkout new_feature
git pull <remote repo>
$ git pull origin other-branch
git checkout new_feature
git pull <remote repo>