A codec for fetching a git repo over tcp.