ignore .git file as well as .git/ dir