Check out example codes for "reported error code “128” when it ended: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.". It will help you in understanding the concepts better.
Code Example 1
ssh-keygen -t rsa -b 2048 -C "[email protected]"
Learn ReactJs, React Native from akashmittal.com