update: allow updating from local branch
update: allow updating from local branch

Closes #44893.

Signed-off-by: Mike McQuaid <a17fed27eaa842282862ff7c1b9c8395a26ac320@mikemcquaid.com>

manphiz/homebrew,ryanfb/homebrew,adamliter/homebrew,alex/homebrew,dalanmiller/homebrew,skatsuta/homebrew,eighthave/homebrew,jiashuw/homebrew,sometimesfood/homebrew,reelsense/homebrew,marcusandre/homebrew,davydden/linuxbrew,jmagnusson/homebrew,kashif/homebrew,teslamint/homebrew,theeternalsw0rd/homebrew,influxdata/homebrew,blogabe/homebrew,theeternalsw0rd/homebrew,jedahan/homebrew,manphiz/homebrew,gvangool/homebrew,dutchcoders/homebrew,osimola/homebrew,getgauge/homebrew,mtigas/homebrew,afh/homebrew,ento/homebrew,jconley/homebrew,nandub/homebrew,jarrettmeyer/homebrew,iandennismiller/homebrew,influxdb/homebrew,dalanmiller/homebrew,deorth/homebrew,henry0312/homebrew,1zaman/homebrew,lrascao/homebrew,jsjohnst/homebrew,galaxy001/homebrew,jiashuw/homebrew,ryanfb/homebrew,miketheman/homebrew,SuperNEMO-DBD/cadfaelbrew,geoff-codes/homebrew,decors/homebrew,georgschoelly/homebrew,kad/homebrew,mommel/homebrew,ralic/homebrew,adamliter/homebrew,Noctem/homebrew,Gasol/homebrew,keith/homebrew,michaKFromParis/homebrew-sparks,knpwrs/homebrew,hongkongkiwi/homebrew,filcab/homebrew,haihappen/homebrew,jconley/homebrew,mkrapp/homebrew,AGWA-forks/homebrew,elgertam/homebrew,eighthave/homebrew,getgauge/homebrew,koraktor/homebrew,filcab/homebrew,coldeasy/homebrew,Gasol/homebrew,brotbert/homebrew,tsaeger/homebrew,cchacin/homebrew,apjanke/homebrew,osimola/homebrew,lvicentesanchez/homebrew,geoff-codes/homebrew,mkrapp/homebrew,xcezx/homebrew,tschoonj/homebrew,SteveClement/homebrew,johanhammar/homebrew,yoshida-mediba/homebrew,menivaitsi/homebrew,elyscape/homebrew,dolfly/homebrew,a-b/homebrew,frodeaa/homebrew,codeout/homebrew,ryanfb/homebrew,jsjohnst/homebrew,eagleflo/homebrew,Red54/homebrew,3van/homebrew,mtigas/homebrew,cprecioso/homebrew,saketkc/linuxbrew,afb/homebrew,osimola/homebrew,tsaeger/homebrew,alebcay/homebrew,jamer/homebrew,davidcelis/homebrew,ExtremeMan/homebrew,kodabb/homebrew,kodabb/homebrew,redpen-cc/homebrew,miketheman/homebrew,a-b/homebrew,frodeaa/homebrew,arg/homebrew,jedahan/homebrew,windoze/homebrew,Habbie/homebrew,Asuranceturix/homebrew,cchacin/homebrew,filcab/homebrew,pcottle/homebrew,kvs/homebrew,muellermartin/homebrew,vihangm/homebrew,megahall/homebrew,vigo/homebrew,Angeldude/linuxbrew,adamliter/homebrew,vladshablinsky/homebrew,royhodgman/homebrew,ehamberg/homebrew,recruit-tech/homebrew,knpwrs/homebrew,yumitsu/homebrew,max-horvath/homebrew,kenips/homebrew,ybott/homebrew,dunn/homebrew,Angeldude/linuxbrew,ndimiduk/homebrew,gawbul/homebrew,mttrb/homebrew,MartinDelille/homebrew,dericed/homebrew,drbenmorgan/linuxbrew,raphaelcohn/homebrew,jbeezley/homebrew,dutchcoders/homebrew,redpen-cc/homebrew,gicmo/homebrew,aaronwolen/homebrew,jarrettmeyer/homebrew,nelstrom/homebrew,joshfriend/homebrew,tseven/homebrew,patrickmckenna/homebrew,colindean/homebrew,jeremiahyan/homebrew,ablyler/homebrew,quantumsteve/homebrew,feelpp/homebrew,Asuranceturix/homebrew,ento/homebrew,xyproto/homebrew,benjaminfrank/homebrew,Linuxbrew/linuxbrew,blogabe/homebrew,max-horvath/homebrew,josa42/homebrew,liamstask/homebrew,cHoco/homebrew,Cutehacks/homebrew,cosmo0920/homebrew,reelsense/homebrew,teslamint/homebrew,max-horvath/homebrew,raphaelcohn/homebrew,yazuuchi/homebrew,zhipeng-jia/homebrew,sakra/homebrew,arg/homebrew,ablyler/homebrew,kashif/homebrew,codeout/homebrew,getgauge/homebrew,dolfly/homebrew,ybott/homebrew,Red54/homebrew,xcezx/homebrew,cprecioso/homebrew,booi/homebrew,Habbie/homebrew,AlexejK/homebrew,henry0312/homebrew,OJFord/homebrew,sjackman/linuxbrew,Gasol/homebrew,johanhammar/homebrew,jsjohnst/homebrew,gnawhleinad/homebrew,TaylorMonacelli/homebrew,royhodgman/homebrew,afb/homebrew,princeofdarkness76/homebrew,heinzf/homebrew,skinny-framework/homebrew,cprecioso/homebrew,afb/homebrew,apjanke/homebrew,arnested/homebrew,slyphon/homebrew,sjackman/linuxbrew,blogabe/homebrew,vladshablinsky/homebrew,iandennismiller/homebrew,chadcatlett/homebrew,mmizutani/homebrew,base10/homebrew,afb/homebrew,tutumcloud/homebrew,xcezx/homebrew,bigbes/homebrew,zchee/homebrew,changzuozhen/homebrew,pcottle/homebrew,bitrise-io/homebrew,mttrb/homebrew,iostat/homebrew2,zeha/homebrew,scpeters/homebrew,grepnull/homebrew,pdxdan/homebrew,johanhammar/homebrew,mmizutani/homebrew,iandennismiller/homebrew,catap/homebrew,xcezx/homebrew,tschoonj/homebrew,utzig/homebrew,getgauge/homebrew,influxdata/homebrew,chadcatlett/homebrew,brotbert/homebrew,hongkongkiwi/homebrew,Cutehacks/homebrew,michaKFromParis/homebrew-sparks,brunchboy/homebrew,AGWA-forks/homebrew,hanxue/homebrew,gicmo/homebrew,benjaminfrank/homebrew,bigbes/homebrew,Angeldude/linuxbrew,pdpi/homebrew,catap/homebrew,emcrisostomo/homebrew,BrewTestBot/homebrew,emcrisostomo/homebrew,koraktor/homebrew,bukzor/linuxbrew,patrickmckenna/homebrew,chadcatlett/homebrew,ear/homebrew,bchatard/homebrew,skatsuta/homebrew,ento/homebrew,windoze/homebrew,englishm/homebrew,jsjohnst/homebrew,iandennismiller/homebrew,lmontrieux/homebrew,dongcarl/homebrew,ilovezfs/homebrew,frickler01/homebrew,thinker0/homebrew,nelstrom/homebrew,joshua-rutherford/homebrew,ebouaziz/linuxbrew,kvs/homebrew,dickeyxxx/homebrew,1zaman/homebrew,optikfluffel/homebrew,henry0312/homebrew,ilovezfs/homebrew,joshfriend/homebrew,utzig/homebrew,zhipeng-jia/homebrew,ExtremeMan/homebrew,kvs/homebrew,davidcelis/homebrew,influxdb/homebrew,danabrand/linuxbrew,cchacin/homebrew,1zaman/homebrew,skinny-framework/homebrew,grepnull/homebrew,Chilledheart/homebrew,dericed/homebrew,hakamadare/homebrew,dolfly/homebrew,Homebrew/linuxbrew,joshua-rutherford/homebrew,alebcay/homebrew,ehamberg/homebrew,tstack/homebrew,ge11232002/homebrew,ryanfb/homebrew,lvicentesanchez/linuxbrew,jmagnusson/homebrew,zeha/homebrew,Noctem/homebrew,petere/homebrew,craig5/homebrew,kevinastone/homebrew,dutchcoders/homebrew,feelpp/homebrew,mkrapp/homebrew,raphaelcohn/homebrew,sometimesfood/homebrew,sakra/homebrew,frickler01/homebrew,amjith/homebrew,arg/homebrew,joshua-rutherford/homebrew,treyharris/homebrew,theeternalsw0rd/homebrew,jbeezley/homebrew,davydden/linuxbrew,scorphus/homebrew,dgageot/homebrew,tjschuck/homebrew,osimola/homebrew,sakra/homebrew,apjanke/homebrew,influxdata/homebrew,deorth/homebrew,DoomHammer/linuxbrew,kenips/homebrew,scorphus/homebrew,amjith/homebrew,retrography/homebrew,skatsuta/homebrew,georgschoelly/homebrew,brunchboy/homebrew,coldeasy/homebrew,mommel/homebrew,feelpp/homebrew,hakamadare/homebrew,LonnyGomes/homebrew,Asuranceturix/homebrew,knpwrs/homebrew,optikfluffel/homebrew,knpwrs/homebrew,ear/homebrew,joshfriend/homebrew,SteveClement/homebrew,zeha/homebrew,LinusU/homebrew,marcusandre/homebrew,sometimesfood/homebrew,scpeters/homebrew,galaxy001/homebrew,skatsuta/homebrew,galaxy001/homebrew,kashif/homebrew,vihangm/homebrew,drewwells/homebrew,Angeldude/linuxbrew,dericed/homebrew,ericfischer/homebrew,ablyler/homebrew,georgschoelly/homebrew,haihappen/homebrew,kevinastone/homebrew,gawbul/homebrew,eagleflo/homebrew,esamson/homebrew,ndimiduk/homebrew,AlekSi/homebrew,afh/homebrew,Noctem/homebrew,gnubila-france/linuxbrew,MartinDelille/homebrew,josa42/homebrew,yoshida-mediba/homebrew,dkotvan/homebrew,reelsense/linuxbrew,benjaminfrank/homebrew,amjith/homebrew,ilovezfs/homebrew,princeofdarkness76/homebrew,redpen-cc/homebrew,moyogo/homebrew,frickler01/homebrew,okuramasafumi/homebrew,thinker0/homebrew,Chilledheart/homebrew,dericed/homebrew,tsaeger/homebrew,danabrand/linuxbrew,dunn/homebrew,thinker0/homebrew,booi/homebrew,ehamberg/homebrew,xyproto/homebrew,1zaman/homebrew,vigo/homebrew,feelpp/homebrew,MoSal/homebrew,zeha/homebrew,bitrise-io/homebrew,SuperNEMO-DBD/cadfaelbrew,jconley/homebrew,miketheman/homebrew,dgageot/homebrew,marcwebbie/homebrew,hyuni/homebrew,brunchboy/homebrew,liamstask/homebrew,menivaitsi/homebrew,jconley/homebrew,vihangm/homebrew,fabianfreyer/homebrew,ericfischer/homebrew,ebouaziz/linuxbrew,ehamberg/homebrew,Chilledheart/homebrew,scpeters/homebrew,windoze/homebrew,hanxue/homebrew,recruit-tech/homebrew,skinny-framework/homebrew,patrickmckenna/homebrew,pdxdan/homebrew,princeofdarkness76/homebrew,davidcelis/homebrew,martinklepsch/homebrew,dongcarl/homebrew,SteveClement/homebrew,lvicentesanchez/homebrew,tjschuck/homebrew,AlekSi/homebrew,alebcay/homebrew,esamson/homebrew,cscetbon/homebrew,ralic/homebrew,danieroux/homebrew,hyuni/homebrew,tschoonj/homebrew,mtigas/homebrew,gvangool/homebrew,craig5/homebrew,MoSal/homebrew,gnubila-france/linuxbrew,mactkg/homebrew,kenips/homebrew,jamer/homebrew,dplarson/homebrew,redpen-cc/homebrew,bitrise-io/homebrew,felixonmars/homebrew,yazuuchi/homebrew,hakamadare/homebrew,retrography/homebrew,sferik/homebrew,jedahan/homebrew,AlexejK/homebrew,DoomHammer/linuxbrew,tjschuck/homebrew,tseven/homebrew,ebouaziz/linuxbrew,jab/homebrew,LonnyGomes/homebrew,eagleflo/homebrew,okuramasafumi/homebrew,slyphon/homebrew,jarrettmeyer/homebrew,vihangm/homebrew,galaxy001/homebrew,razamatan/homebrew,drewwells/homebrew,kenips/homebrew,ebouaziz/linuxbrew,pdpi/homebrew,jiashuw/homebrew,AlekSi/homebrew,bchatard/homebrew,changzuozhen/homebrew,pdpi/homebrew,benjaminfrank/homebrew,blogabe/homebrew,felixonmars/homebrew,AGWA-forks/homebrew,dplarson/homebrew,craig5/homebrew,reelsense/linuxbrew,razamatan/homebrew,gnubila-france/linuxbrew,fabianfreyer/homebrew,nandub/homebrew,cscetbon/homebrew,eighthave/homebrew,LinusU/homebrew,coldeasy/homebrew,yumitsu/homebrew,jeremiahyan/homebrew,kad/homebrew,amjith/homebrew,tschoonj/homebrew,dgageot/homebrew,quantumsteve/homebrew,a-b/homebrew,deorth/homebrew,cosmo0920/homebrew,tseven/homebrew,AlekSi/homebrew,moyogo/homebrew,gnawhleinad/homebrew,cprecioso/homebrew,BrewTestBot/homebrew,utzig/homebrew,iostat/homebrew2,LonnyGomes/homebrew,jarrettmeyer/homebrew,mactkg/homebrew,gnawhleinad/homebrew,ericfischer/homebrew,jamer/homebrew,catap/homebrew,colindean/homebrew,teslamint/homebrew,ear/homebrew,yangj1e/homebrew,nandub/homebrew,ybott/homebrew,cosmo0920/homebrew,recruit-tech/homebrew,optikfluffel/homebrew,gicmo/homebrew,davydden/linuxbrew,tjschuck/homebrew,Red54/homebrew,vladshablinsky/homebrew,mtigas/homebrew,OJFord/homebrew,pdpi/homebrew,colindean/homebrew,razamatan/homebrew,base10/homebrew,mactkg/homebrew,lmontrieux/homebrew,TaylorMonacelli/homebrew,BrewTestBot/homebrew,mttrb/homebrew,SteveClement/homebrew,kad/homebrew,menivaitsi/homebrew,elgertam/homebrew,yumitsu/homebrew,amarshall/homebrew,3van/homebrew,martinklepsch/homebrew,hyuni/homebrew,Homebrew/homebrew,yoshida-mediba/homebrew,jbeezley/homebrew,drbenmorgan/linuxbrew,sometimesfood/homebrew,totalvoidness/homebrew,scorphus/homebrew,kodabb/homebrew,keith/homebrew,dalanmiller/homebrew,amarshall/homebrew,marcusandre/homebrew,Chilledheart/homebrew,drbenmorgan/linuxbrew,tutumcloud/homebrew,TaylorMonacelli/homebrew,treyharris/homebrew,gnawhleinad/homebrew,cHoco/homebrew,kevinastone/homebrew,coldeasy/homebrew,ndimiduk/homebrew,raphaelcohn/homebrew,jbeezley/homebrew,xyproto/homebrew,hanxue/homebrew,hanxue/homebrew,OJFord/homebrew,martinklepsch/homebrew,manphiz/homebrew,SuperNEMO-DBD/cadfaelbrew,ge11232002/homebrew,Red54/homebrew,ExtremeMan/homebrew,tsaeger/homebrew,jiashuw/homebrew,jeremiahyan/homebrew,megahall/homebrew,koraktor/homebrew,petere/homebrew,jeremiahyan/homebrew,fabianfreyer/homebrew,mobileoverlord/homebrew-1,hyuni/homebrew,scorphus/homebrew,SuperNEMO-DBD/cadfaelbrew,saketkc/linuxbrew,totalvoidness/homebrew,nandub/homebrew,jab/homebrew,geoff-codes/homebrew,elyscape/homebrew,lvicentesanchez/linuxbrew,influxdata/homebrew,reelsense/homebrew,ndimiduk/homebrew,grepnull/homebrew,dongcarl/homebrew,youtux/homebrew,zhipeng-jia/homebrew,danieroux/homebrew,bigbes/homebrew,dickeyxxx/homebrew,saketkc/linuxbrew,petere/homebrew,mactkg/homebrew,heinzf/homebrew,afh/homebrew,totalvoidness/homebrew,Linuxbrew/linuxbrew,kad/homebrew,changzuozhen/homebrew,jab/homebrew,keith/homebrew,bchatard/homebrew,thinker0/homebrew,princeofdarkness76/homebrew,brotbert/homebrew,dalanmiller/homebrew,mobileoverlord/homebrew-1,aaronwolen/homebrew,henry0312/homebrew,danieroux/homebrew,cchacin/homebrew,esamson/homebrew,koraktor/homebrew,MartinDelille/homebrew,brunchboy/homebrew,tstack/homebrew,elgertam/homebrew,cHoco/homebrew,totalvoidness/homebrew,Habbie/homebrew,AGWA-forks/homebrew,ge11232002/homebrew,pcottle/homebrew,TaylorMonacelli/homebrew,yangj1e/homebrew,lvicentesanchez/linuxbrew,megahall/homebrew,amarshall/homebrew,treyharris/homebrew,aaronwolen/homebrew,geoff-codes/homebrew,gnubila-france/linuxbrew,danabrand/linuxbrew,englishm/homebrew,pdxdan/homebrew,heinzf/homebrew,apjanke/homebrew,dkotvan/homebrew,lmontrieux/homebrew,bitrise-io/homebrew,adamliter/homebrew,englishm/homebrew,MartinDelille/homebrew,marcwebbie/homebrew,mmizutani/homebrew,dickeyxxx/homebrew,muellermartin/homebrew,slyphon/homebrew,gicmo/homebrew,josa42/homebrew,polishgeeks/homebrew,changzuozhen/homebrew,megahall/homebrew,kodabb/homebrew,haihappen/homebrew,kashif/homebrew,Asuranceturix/homebrew,quantumsteve/homebrew,mobileoverlord/homebrew-1,elgertam/homebrew,hongkongkiwi/homebrew,alex/homebrew,frodeaa/homebrew,saketkc/linuxbrew,marcusandre/homebrew,iostat/homebrew2,tseven/homebrew,drewwells/homebrew,aaronwolen/homebrew,decors/homebrew,alex/homebrew,recruit-tech/homebrew,menivaitsi/homebrew,slyphon/homebrew,jedahan/homebrew,heinzf/homebrew,ablyler/homebrew,frickler01/homebrew,codeout/homebrew,ilovezfs/homebrew,optikfluffel/homebrew,teslamint/homebrew,jamer/homebrew,youtux/homebrew,jab/homebrew,dongcarl/homebrew,miketheman/homebrew,hakamadare/homebrew,emcrisostomo/homebrew,craig5/homebrew,yoshida-mediba/homebrew,eighthave/homebrew,bukzor/linuxbrew,danabrand/linuxbrew,decors/homebrew,marcwebbie/homebrew,cHoco/homebrew,michaKFromParis/homebrew-sparks,BrewTestBot/homebrew,ericfischer/homebrew,nelstrom/homebrew,frodeaa/homebrew,jmagnusson/homebrew,Linuxbrew/linuxbrew,sferik/homebrew,marcwebbie/homebrew,ear/homebrew,haihappen/homebrew,tutumcloud/homebrew,arnested/homebrew,LonnyGomes/homebrew,booi/homebrew,SteveClement/homebrew,vladshablinsky/homebrew,Homebrew/homebrew,davydden/linuxbrew,gvangool/homebrew,ralic/homebrew,manphiz/homebrew,LinusU/homebrew,drewwells/homebrew,AlexejK/homebrew,pdxdan/homebrew,okuramasafumi/homebrew,Homebrew/homebrew,influxdb/homebrew,kevinastone/homebrew,dutchcoders/homebrew,yazuuchi/homebrew,zchee/homebrew,davidcelis/homebrew,patrickmckenna/homebrew,georgschoelly/homebrew,hongkongkiwi/homebrew,3van/homebrew,mommel/homebrew,skinny-framework/homebrew,youtux/homebrew,elyscape/homebrew,Cutehacks/homebrew,gvangool/homebrew,lvicentesanchez/linuxbrew,brotbert/homebrew,DoomHammer/linuxbrew,Cutehacks/homebrew,okuramasafumi/homebrew,liamstask/homebrew,muellermartin/homebrew,dplarson/homebrew,alebcay/homebrew,sjackman/linuxbrew,3van/homebrew,mmizutani/homebrew,reelsense/linuxbrew,pcottle/homebrew,esamson/homebrew,polishgeeks/homebrew,reelsense/linuxbrew,quantumsteve/homebrew,englishm/homebrew,danieroux/homebrew,youtux/homebrew,sferik/homebrew,base10/homebrew,grepnull/homebrew,Homebrew/linuxbrew,gawbul/homebrew,bigbes/homebrew,theeternalsw0rd/homebrew,liamstask/homebrew,tstack/homebrew,ExtremeMan/homebrew,bukzor/linuxbrew,dolfly/homebrew,treyharris/homebrew,joshua-rutherford/homebrew,amarshall/homebrew,dkotvan/homebrew,dunn/homebrew,dgageot/homebrew,drbenmorgan/linuxbrew,keith/homebrew,arnested/homebrew,moyogo/homebrew,vigo/homebrew,arg/homebrew,felixonmars/homebrew,razamatan/homebrew,Gasol/homebrew,xyproto/homebrew,dunn/homebrew,royhodgman/homebrew,moyogo/homebrew,zchee/homebrew,scpeters/homebrew,mobileoverlord/homebrew-1,polishgeeks/homebrew,decors/homebrew,Homebrew/linuxbrew,vigo/homebrew,ralic/homebrew,max-horvath/homebrew,cosmo0920/homebrew,dplarson/homebrew,base10/homebrew,Homebrew/homebrew,Noctem/homebrew,Habbie/homebrew,codeout/homebrew,petere/homebrew,martinklepsch/homebrew,zhipeng-jia/homebrew,lmontrieux/homebrew,lrascao/homebrew,catap/homebrew,pcottle/homebrew,sferik/homebrew,retrography/homebrew,ento/homebrew,eagleflo/homebrew,colindean/homebrew,dickeyxxx/homebrew,Homebrew/linuxbrew,yazuuchi/homebrew,tstack/homebrew,filcab/homebrew,MoSal/homebrew,johanhammar/homebrew,MoSal/homebrew,sakra/homebrew,Linuxbrew/linuxbrew,afh/homebrew,mommel/homebrew,iostat/homebrew2,jmagnusson/homebrew,felixonmars/homebrew,bchatard/homebrew,alex/homebrew,retrography/homebrew,lrascao/homebrew,reelsense/homebrew,arnested/homebrew,zchee/homebrew,muellermartin/homebrew,bukzor/linuxbrew,lvicentesanchez/homebrew,kvs/homebrew,tutumcloud/homebrew,royhodgman/homebrew,Asuranceturix/homebrew,a-b/homebrew,yangj1e/homebrew,LinusU/homebrew,emcrisostomo/homebrew,ge11232002/homebrew,windoze/homebrew,cscetbon/homebrew,polishgeeks/homebrew,elyscape/homebrew,influxdb/homebrew,OJFord/homebrew,ybott/homebrew,AlexejK/homebrew,dkotvan/homebrew,yangj1e/homebrew,lvicentesanchez/homebrew,mttrb/homebrew,utzig/homebrew,DoomHammer/linuxbrew,fabianfreyer/homebrew,nelstrom/homebrew,sjackman/linuxbrew