Stop tracking files ignored by <code>.gitignore</code>

Find files that Git still tracks despite matching .gitignore rules, then remove them from the index without deleting the local copies.