Host Aliases
conceptIn SSH config, Host is a nickname and HostName is the actual address. They don't have to match. A host alias is a Host name you invent—it connects wherever its HostName says.
An alias block looks like any other config block—the only trick is that the label is made up:
Host github-personal
HostName github.com
IdentityFile ~/.ssh/github_personal
IdentitiesOnly yes
Connecting with ssh github-personal—or a git URL like git@github-personal:my-user/my-repo.git—still reaches github.com; that's what HostName handles. But SSH matched the block by the alias you typed, so it presents the key that block names.
The service never sees the alias. It only sees the HostName you connected to and the key you presented. The alias exists purely on your machine, in your config.