git restore --staged .
git rm --cached -r
--cached tells it to remove the paths from staging and the index without
removing the files themselves and -r operates on directories recursively.
git rm --cached FILE.NAME
git restore --staged <file>
git rm --cached <file name>
git reset HEAD <file>
git checkout <file-name>