Some GitPlugin improvements