Redefinir um único arquivo

git checkout HEAD -- my-file.txt