If you have trouble cloning a github repo using https, you can tell it to switch to SSH instead.

Here’s the command.

<pre lang="bash">
git config --global url.ssh://git@github.com/.insteadOf https://github.com/

I had to specify reconfigure when I ran terraform init.

<pre lang="bash">
terraform init --reconfigure