create .gitignore and clean the repository