This Project for CommandLine Applications. includes configs and documentation. https://mrinjamul.github.io/unTutorials
export GIT_SSH_COMMAND='ssh -i ~/.ssh/your_private_key'
[Note: This is for the current terminal session]
For one one command,
GIT_SSH_COMMAND='ssh -i ~/.ssh/your_private_key' git push origin master