I created a new repository and I\'m running into a strange error. I\'ve used Git before on Bitbucket but I just reformatted and now I can\'t seem to get Git to work. After
I solved this by removing the remote using command:
git remote remove origin
and then tried to add remote using https url instead of ssh
git remote add origin httpsUrl
It asks for github credentials. Enter credentials and then try pushing to git using:
git push origin master