doctor: combine git origin checks