Command refactoring for better error detection (snippets, 098ddbc)

Refactor most invocations of the git tool into separate methods to allow
better error checking. Now non-zero exit codes will cause an exception to be
thrown where appropraite. Harmless errors should not have any effect.

Signed-off-by: Greg Hurrell <greg@hurrell.net>\

← Handle multiple commits per post-receive invocation (snippets, 9dd5748)
Ignore ref_name (snippets, 22e4a24) →

All snippets