Implement git object serialization
Fix git delta patching
Minor error handling correction