git reset change in one file

C++
# undo local changes to specific file
git checkout -- file
Source

Also in C++: