Remove all traces of git from a directory on OSX/Linux

Run this on the Terminal in the folder if you want to recursively remove all traces of Git from a directory.

This will remove .gitignore and .gitkeep files too.

$ find . | grep .git | xargs rm -rf