Implement the clone command to clone a public repository from GitHub.
Todo
- Implement Git's Smart HTTP transfer protocol
- Handle pack-file format (gitformat-pack)
- Decode variable-length integers (sneaky git number encoding)
- Unpack received packfiles into the object store
- Reconstruct the working tree from the cloned objects
Implement the
clonecommand to clone a public repository from GitHub.Todo