I would like to extract all patches from a git repository,
or at least all ancestors from a selected tag or commit.

I need each commit as a separate patch. Each patch should end up into its own file. The command can create a directory or a tar archive.

Closest I could find is `git-format-patch`, but it outputs everything as a single patch.