git remove cached directory

Shell
git rm -r --cached [directory]
Source

Also in Shell: