undo the unstage the changes code example
Example: how to unstage changes in git
#unstage a single file
git rm --cached <filePath>
#unstage all staged files
git reset
#unstage a single file
git rm --cached <filePath>
#unstage all staged files
git reset