Make sure the repo is clean before doing a git pull