git cómo restablecer solo un archivo

git checkout HEAD -- my-file.txt
Eranot