update master repository with files in a branch git 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