TW-56415 Try to update local git mirror several times instead of cloning from scratch