update branch from origin master code example Example: update local repository from origin master and reabse git pull --rebase origin master