Описание тега git-archive
Git sub-command used to create an archive from part of a [tag:Git] repository. For example, it can create a tarball of the contents of a particular commit.
git archive
is a git sub-command used to create an archive, in various formats, from part of a Git repository. For example, it can create a tarball of the contents of a particular commit.
For usage information, see the git archive
man page.