I am not sure about the logic of this... you would never want .class files added to git would you (regardless of location)?