Specify an SSH key for git push for a given Domain

Code

Specify an SSH key for git push for a given Domain

Add Entry in .ssh/config

nano ~.ssh/config
Host git-as-paulligocki
  HostName github.com
  User git
  IdentityFile /home/paul/.ssh/PaulLigocki
  IdentitiesOnly yes

Add git remote

git remote add origin git@git-as-paulligocki:PaulLigocki/Sample-Repo.git