Why does gitignore not work