Odwróć plik do wersji głównej git

git checkout -- filename
Blue Boar