git reset one file

Shell
git checkout HEAD -- my-file.txt
Source

Also in Shell: