patch from working tree in git repository
# create patch $ git diff --no-prefix > topic-name.patch # confirm $ patch --dry-run -p0 < topic-name.patch # exec $ patch -p0 < topic-name.patch
# create patch $ git diff --no-prefix > topic-name.patch # confirm $ patch --dry-run -p0 < topic-name.patch # exec $ patch -p0 < topic-name.patch