use "git restore <file>..." to discard changes in working directory use "git restore --staged <file>..." to unstage