/ How To
Untrack files AND remove them from working tree
git rm file1.txt file2.txt
Related How Tos:
Revert a commit
Change the message and/or files of the last commit
Untrack files from staging area, without removing them from the working tree
Unstage file using "git reset"
Unstage file using "git restore"
Revert file using "git checkout --"
Reset the staging area to a specific commit
Reset the working directory to the state of a specific commit
Revert a file using "git restore"
Search Git Commands
More How Tos