force git to use ssh code example Example: force git to use ssh git config --global url."[email protected]:".insteadOf "https://github.com/"