TortoiseGit: how to create and upload your public key to GitHub

Chaya Thilakumara
Chaya Thilakumara
Published in
3 min readAug 7, 2020
TortoiseGit

You can download TortoiseGit from here.

How to create your SSH key

TortoiseGit comes with PuTTYgen, so let’s use it to create your key:

Search > PuTTYgen
PuTTYgen

Once PuTTYgen opens up:

  • Click Generate
  • Copy the Public OpenSSH key
  • Enter a passphrase
  • Save the Private Key

The saved Private Key will be used later below. (I saved it as key.ppk)

Load your public key to Git

In your web browser: Login to GitHub> Settings > SSH and GPG keys

PuTTYgen
  • Select New SSH Key and provide a suitable name for the title
  • Paste your public OpenSSH key in the textbox “Key” > Add SSH Key
GitHub> Settings > SSH and GPG keys

In order to enable the key, you need to re-login to your git account.

Navigate to a location of your choice > Create a folder > Right-click on it > Git Clone.

Create a folder > Right-click on it > Git Clone

Paste your SSH URL > Point to your saved private key > Click OK

Git Clone

You will be asked for your SSH key passphrase if all good you will get success.

TortoiseGit

Commit some code locally

Right Click on the Folder containing your changes > Git Commit

Git Commit

Push the commits to your central repo

Right-click on the folder > TortoiseGit > Push

Git Push

Happy Testing !! :D

--

--

Chaya Thilakumara
Chaya Thilakumara

Pursue your passion, and everything else will fall into place.