How to go get private github repository? git config --global url."git@github.com:".insteadOf "https://github.com/" cat >> ~/.ssh/config <<EOF Host github.com Hostname ssh.github.com Port 443 EOF Done!