Git Rest Hard File

git checkout HEAD -- my-file.txt
Eranot