The local internet connection is a necessary but not sufficient part of accessing any hosted service. More importantly, the service itself has to be online.
In the last year, if I accumulate all service outages at GitHub and at my office’s ISP, I think GitHub was out of reach for more than a couple of hours five times.