Create an archive of files from a tree. More information: https://git-scm.com/docs/git-archive.
stdout
:git archive --verbose HEAD
git archive {{-v|--verbose}} --format zip HEAD
git archive -v {{-o|--output}} {{path/to/file.zip}} HEAD
git archive -o {{path/to/file.tar}} {{branch_name}}
git archive -o {{path/to/file.tar}} HEAD:{{path/to/directory}}
git archive -o {{path/to/file.tar}} --prefix {{path/to/prepend}}/ HEAD