I am looking for a simple solution to make a archive of recent changed file.
I get this simple command from google
git archive -o update.zip HEAD $(g
You just need to filter out files deleted while that diff to fix that error:
git archive -o update.zip HEAD $(git diff --name-only --diff-filter=d HEAD^..HEAD)
May be git archive is overhead for that task and you should use @eckes's answer.
But, you still should add --diff-filter=d to exclude removed files from archive.