revert git add

Shell
https://guide.freecodecamp.org/miscellaneous/how-to-undo-a-git-add/git reset <file> or git reset// undo add for one file
git reset <file>

// undo add for all files
git reset
Source

Also in Shell: