reWrite .gitignore file