I\'m playing around with git\'s transfer protocols, and I was just wondering if there is some detailed specification for them before I attempt to read the source?
there is also a partially completed documentation hosted on Github Gist.
This metasploit module also poses as a malicious dumb git server, serving bad git trees. You can see how the git trees are constructed.