fatal: protocol 'https' is not supported git push not working?

504 Views Asked by At

I have set the origin to my online Git Repository and there is nothing to commit

git status
On branch main
nothing to commit, working tree clean

but still I am getting this when I try to push my README.md,html, css, js and some images files

$ git push -u origin main
fatal: protocol 'https' is not supported
1

There are 1 best solutions below

1
On

Please type in

git remote -v

Try to add SSH instead.