push using ssh key git code example Example: git push specific ssh key GIT_SSH_COMMAND='ssh -i ~/.ssh/your_private_key' git submodule update --init