Update gitignore to exclude directories.