Offload commit encoding entirely to git