On my macOS laptop I can do a git clone like so:
git clone https://github.com/my/repo
And it doesn't require a username and password. My assumption is that this works because I have added my SSH key to github.
I have recently set up a new ubuntu machine, and I have generated a new SSH key and added it to github. However whenever I try too clone a repository, it asks me for my github username and password.
I have even tried copying my SSH key and ~/.ssh/config from my other machine, and I still get the same result.
Is there something I am missing to make it work without a password?