git upload-archive <directory>
Invoked by git-archive --remote and sends a generated archive to the other end over the git protocol.
This command is usually not invoked directly by the end user. The UI for the protocol is on the git-archive side, and the program pair is meant to be used to get an archive from a remote repository.
<directory>
Documentation by Junio C Hamano and the git-list <m[blue]git@vger.kernel.orgm[][1]>.
Part of the git(1) suite