GitReset git branch into a clean stategit fetch origin master git reset --hard FETCH_HEAD git clean -f -d