grep -v ".git" was removing too much files

fixed that and the files affected.