I am attempting to push my code onto my github account after sharing project repository. The repository is created but I get an error when I attempt to push:
Invocation failed Unexpected end of file from server
error: unable to read askpass response from '/Users/xxx/Library/Caches/Google/AndroidStudio2021.2/tmp/intellij-git-askpass-local.sh' fatal: could not read Username for 'https://github.com': Device not configured
I have enabled Use Credential Helper under the git settings of Android Studio and I invalidated caches but neither of these steps seemed to work. I have also used the commands:
git --config --global user.email "xxx@gmail.com"
git --config --global user.name "xxx"
Does anyone have any suggestions for how to fix this or where I could look to find more information?