Delete .git files

Test

find . -name ".git*"

Delete

find . -name ".git*" -exec rm -rf '{}' \;