git update local branch from another local branch code example Example: git update another branch git fetch origin master:master