If you want to create zip from files which are changed in git, but not commited. Useful for patch updating or upgrades.
git diff --name-only | zip patched.zip -@