Analyse and debug Git ignore / exclude (".gitignore") files. More information: https://git-scm.com/docs/git-check-ignore.
git check-ignore {{path/to/file_or_directory}}
git check-ignore {{path/to/file}} {{path/to/directory}}
stdin
:git check-ignore --stdin < {{path/to/file_list}}
git check-ignore --no-index {{path/to/files_or_directories}}
git check-ignore --verbose {{path/to/files_or_directories}}