dotgitignore

find the closest .gitignore file, parse it, and apply ignore rules