At home, most of the times while connecting to github via intellij or by terminal, for pulling or pushing to git, it gives the below error
fatal: unable to access ‘https://github….io/projecttree/project.git’: Maximum (20) redirects followed
I have 2 connections from 2 ISPs and I face the same error and rarely it works in both.