how to pull a new branch in git code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: git checkout to remote branch
$ git checkout --track origin/newsletter
Branch newsletter set up to track remote branch newsletter from origin.
Switched to a new branch 'newsletter'
Example 3: git create new branch from current
git checkout -b topic/newbranch
Example 4: git pull a new branch froma remote repo
git checkout --track origin/daves_branch