How to fix Gitignore not working?