

The first method is connecting GitHub with remote account.
SOURCETREE GITHUB SSH HOW TO
(Delete your earlier setup with SSH if it doesn’t work the first time. How to Connect GitHub with SourceTree Method 1: Connect with Remote Account via OAuth.

Test that you can authenticate via ssh: ssh -T. If the process prompts for keys… use the ones you saved earlier. Add your public keys to the hosts you want to authenticate with. Will need to use the SSH url for Github repository. You must be a registered user to add a comment. I noticed the one generated with the 'generate ssh key' inside SourceTree is longer than my default key. Because by default that SourceTree directory isn’t under program files… it’s in local user. For my setup, the remote origin url must not include ssh://. May want to make a copy of your private SourceTree key so that you can retrieve it readily.
