$ git rm -r --cached .
git rm -r --cached <name-of-dir>
$ git rm --cached filename
git rm -r --cached [directory]