git config ssh code example Example: git config ssh protocol gh config set -h github.com git_protocol ssh # The new GitHub CLI