how to unstage changes in git

Shell
#unstage a single file
git rm --cached <filePath> 

#unstage all staged files
git reset
Source

Also in Shell: