Extract git errors to component and move to repository