I'm trying to switch to SSH keys as the password authentication is now deprecated and I am having an issue. I've created a new key pair and entered the public key in my account and setup my Git Bash to use the private key.
When I try to clone one of my projects, I get a password prompt asking for "email@example.com' password.
However, when I run
ssh firstname.lastname@example.org -v, it asks for my private key password and the output log says that I was authenticated.
debug1: Authentication succeeded (publickey).
Authenticated to git.drupal.org ([220.127.116.11]:22).
Why does the above appear to authenticate but running something like the following does not?
git clone --branch 8.x-1.x email@example.com:project/MY_PROJECT.git
EDIT: I'm using Git Bash on Windows.