Add .gitignore to list of exceptions in update.py