git how to keep local changes and pull from master code example Example: keep local changes and pull git stash git pull git stash pop