What a pain, but what fixed it for me was:
Updating VSCode
Creating an SSH key
Move the SSH key to an accessible folder like your user folder "yourUserName/id_rsa.pub" instead of yourUserName/.ssh/id_rsa.pub
After moving the id_rsa.pub I opened File->Preferences->Accounts, changed to SSH, selected the pub key and entered password