Mambro Mambro - 2 months ago 8x
Git Question

Git Fetch returns 'fatal: I don't handle protocol https' in windows

Just after adding remote repo, I tried

git fetch remoteRepoName
but it's returning this error:

fatal: I don't handle protocol 'https'

I explored relevant questions but most of these belongs to
git clone
so their answers aren't working in my case. Here's a screenshot:

enter image description here

xam xam

I can see extra spaces between forkgeek and https://... online 3.

Run these commands to fix it.

git remote remove forkgeek

git remote add upstream

git fetch upstream

I have changed forkgeek into upstream, you can have whatever name you want.