Remove all changes to a file with git restore

To hard reset a single file, i.e. remove all changes to a file, use git restore!

$ git restore <file>