allow an empty commit
add some convenience wrappers for curls and shas