Generate Key pair to access git repository Windows: Open power shell and type following bellow given command. ssh-keygen -t rsa -b 2048 -t mean type rsa is a type -b means byte 2048 bytes After entering the command it will ask few questions mentioned in screen shot below Open the file having key pair. mentioned below in screen shot Now key-pair is created, public key is a key with p sign. open the file and select the whole text. mention below in snap shot Upload public key to git hub to access the repository Go to github, under your profile icon, select settings In settings, on left select SSH AND GPG keys select and Add new SSH key Now public ssh-key is successfully added on github and private is already on your system Now you can clone the repositories on this account where you added the public ssh-key.