doctor: combine git existence and version checks
doctor: combine git origin checks