How to git un-add (undo "git add" command) a file
git reset [filename]
will undo a previous git add [filename]
call - one could say, it un-adds filename
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow