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

bfontaine/brew,tonyg/homebrew,JCount/brew,toonetown/homebrew,gordonmcshane/homebrew,staticfloat/brew,claui/brew,reelsense/brew,nandub/brew,mistydemeo/homebrew,Linuxbrew/brew,staticfloat/brew,claui/brew,ilovezfs/brew,EricFromCanada/brew,rwhogg/brew,mgrimes/brew,aw1621107/brew,Linuxbrew/brew,jmsundar/brew,vitorgalvao/brew,gregory-nisbet/brew,Homebrew/brew,mgrimes/brew,reelsense/brew,zmwangx/brew,EricFromCanada/brew,tonyg/homebrew,bfontaine/brew,palxex/brew,konqui/brew,alyssais/brew,MikeMcQuaid/brew,jmsundar/brew,AnastasiaSulyagina/brew,reitermarkus/brew,muellermartin/dist,tonyg/homebrew,DomT4/brew,konqui/brew,EricFromCanada/brew,JCount/brew,MikeMcQuaid/brew,konqui/brew,rwhogg/brew,DomT4/brew,toonetown/homebrew,zmwangx/brew,JCount/brew,ilovezfs/brew,gordonmcshane/homebrew,mahori/brew,amar-laksh/brew_sudo,Homebrew/brew,sjackman/homebrew,aw1621107/brew,pseudocody/brew,sjackman/homebrew,maxim-belkin/brew,reitermarkus/brew,mgrimes/brew,konqui/brew,nandub/brew,sjackman/homebrew,Linuxbrew/brew,AnastasiaSulyagina/brew,zmwangx/brew,hanxue/linuxbrew,nandub/brew,palxex/brew,maxim-belkin/brew,ilovezfs/brew,gregory-nisbet/brew,maxim-belkin/brew,nandub/brew,DomT4/brew,claui/brew,alyssais/brew,jmsundar/brew,muellermartin/dist,vitorgalvao/brew,sjackman/homebrew,EricFromCanada/brew,mistydemeo/homebrew,mistydemeo/homebrew,mahori/brew,bfontaine/brew,rwhogg/brew,DomT4/brew,MikeMcQuaid/brew,mahori/brew,reitermarkus/brew,toonetown/homebrew,muellermartin/dist,mahori/brew,alyssais/brew,amar-laksh/brew_sudo,gordonmcshane/homebrew,aw1621107/brew,JCount/brew,MikeMcQuaid/brew,vitorgalvao/brew,gregory-nisbet/brew,palxex/brew,hanxue/linuxbrew,Linuxbrew/brew,hanxue/linuxbrew,pseudocody/brew,reelsense/brew,vitorgalvao/brew,pseudocody/brew,amar-laksh/brew_sudo,staticfloat/brew,Homebrew/brew,reitermarkus/brew,claui/brew,Homebrew/brew,AnastasiaSulyagina/brew