fatal: unable to access 'https://github.com/Homebrew/brew/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
Failed during: git fetch --force --tags origin

报错如上,我的解决办法是这样的

ping github.com

然后将查询得到的ip地址与域名的映射填入hosts,如下

140.82.112.4    github.com

然后再试一试,是不是已经可以了。