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