Last Updated: July 24, 2020
·
1.862K
· stevenh512

Always use HTTPS for GitHub

If you're behind a firewall and can't use Git+SSH, append this to your ~/.gitconfig and you're good to go

# Use https instead of git and git+ssh
[url "https://github.com/"]
  insteadOf = git://github.com/
[url "https://github.com/"]
  insteadOf = git@github.com: