Catching git exception, closes #20