Shortest clean up script for git using code bases:

rm -rf *; git reset --hard