managing git fails