https://github.com/101arrowz/fflate https://github.com/nodeca/pako Packfile doc: https://git-scm.com/docs/pack-format Protocol v2 doc: https://git-scm.com/docs/protocol-v2#_packet_line_framing Example for talking Git: ```bash curl -H "Git-Protocol: version=2" -H "Content-Type: application/x-git-upload-pack-request" --data-binary @req-body https://github.com/git/git.git/git-upload-pack ``` where the file `req-body` contains the packet-line framed request body: ```txt 0014command=ls-refs 00010021ref-prefix refs/tags/v2.49.1 0000 ```