Remove redundant code from .gitignore