Add git ignores for java, eclipse and intellij.