My current projects were using GitLab but you can easily translate equivalent steps for GitHub. Here are the steps I took and the mistakes along the way:
- I went to Gitlab Account Settings > SSH Keys
- I clicked Learn more and followed through the steps:
(in Ubuntu WSL Terminal)