Run the command in your bash terminal, here the COMMIT_ID is a valid git commit hash $ zip patch-files.zip $(git show –pretty=”” –name-only COMMIT_ID)