When we use .git in a project some times we need to do a fresh start or abandon the project we definitely need to delete all hidden git repository files. find . | grep .git | xargs rm -rf