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