Çalışan ağaç dosyalarını onar. Git sürümü 2.23+ olmalıdır.
git checkout
vegit reset
komutlarına da ayrıca bakılması tavsiye edilir. Daha fazla bilgi için: https://git-scm.com/docs/git-restore.
git restore {{dosya/konumu}}
git restore --source {{commit}} {{dosya/konumu}}
git restore :/
git restore --staged {{dosya/konumu}}
git restore --staged :/
git restore --worktree --staged :/
git restore --patch