update local git repository from remote master code example
Example 1: git update local repo from master
git pull origin master
Example 2: update local repository from origin master and reabse
git pull --rebase origin master
git pull origin master
git pull --rebase origin master