Git

Reset git branch into a clean state

git fetch origin master
git reset --hard FETCH_HEAD
git clean -f -d