remove last GIT commit to undo changes (never do this on commits which are pushed to a server!)
git reset --soft 'HEAD'^