Learn how Git works
nanogit implements the Git Smart HTTP protocol from scratch, so the upstream Git documentation is the best companion to its source code — it describes exactly what happens on the wire when nanogit talks to a server.
Resources
Want to learn how Git works? The following resources are useful:
- Git on the Server - The Protocols
- Git Protocol v2
- Pack Protocol
- Git HTTP Backend
- HTTP Protocol
- Git Protocol HTTP
- Git Protocol v2
- Git Protocol Pack
- Git Protocol Common
Related
- Architecture Overview — how nanogit maps these protocols onto a stateless client
- Why Git Protocol v2 Only? — the design decision behind nanogit's protocol support
- Delta Resolution — how nanogit resolves packfile deltas
