git patch установлен для файла
git diff --staged > mypatch.patch
Lovely Lynx
git diff --staged > mypatch.patch