git format-patch command

The git format-patch command is used to generate a series of patches in mbox format that you can use to send to a mailing list properly formatted.