how can i pull from a main repo but keep my local branch in tact code example Example: how to pull the changes from git without staging local changes git stash save git pull git stash pop