From Github Training & Guides.

git ls-files --others --ignored --exclude-standard