Update gitignore for directories.