Removing duplicate code from .gitignore