Added handling of '.gitignore'.