I'd like to ignore directories if it has it's own .git directory.
project-root - sub-project1 (with `.git`) - sub-project2 (with `.git`) - other files How can I tell(.gitignore) to ignore all the directories with its own .git such as sub-project1/2 ?