a bash script to squash git commits before last n commits and remove unused files from .git