.gitignore working correctly