I have a git project at Android Studio and a remote at BitBucket and I changed it to use SSH instead of HTTPS. I can make everything work using Atlassian\'s SourceTree, but in A
Regenerate your public ssh key and add it to your git hub repository.
ssh-keygen -t rsa
It worked in my case.