remove .git directories and .gitignore files