removing temporary files and activating .gitignore on them