.gitignore not working properly