Some Examples
Host github.com
Hostname ssh.github.com
Port 443
User git
Host gitlab.com
Hostname altssh.gitlab.com
Port 443
User git
Host bitbucket.org
Hostname altssh.bitbucket.org
Port 443
User git
Notice
Git on Windwos uses a different config file. It lays on <GIT_INSTALL_DIR>/etc/ssh/ssh_config
.
You need to config in file above.