Minor code rearrangement
Implement git commit object decoding