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