Clean local repository

check how your repository feels like
git status

scrap the last commit
git reset --hard HEAD

scrap all changes and start all over again
git reset --hard origin

check is this was enough
git status

clean up more
This will erase all your changes!

git clean -f -d

check is this was enough
git status