remove directories with .git