Clean up around parsing git responses