title: How to list files ignored by git that are currently staged or committed?
body: <p>How does one get a list of those files that match a rule in .gitignore file, but that have been staged or committed in the past?</p>