get updated branch in ,local machine from git code example
Example 1: how to git pull origin master
git pull origin
Example 2: what is git pull rebase
The content of your work tree should end up the same in both cases; you've just created a different history leading up to it.