Git: 'remote-https' is not a git command. See 'git --help'

I’ve been having this problem with this error on Github Desktop. I’ve tried messing with the Environmental Variables to get its path right and I have uninstalled it as well as deleting the information from %LocalAppData% and %appdata% before I re-install it. So I’m not sure what to do.Screenshot_1

There should be no hyphen attached to git remote, there should be a space before the actual URL of the repository.

When you get a Git error, just copy the whole command and response from Bash (or CMD), replace any personal data (user name, system folders, etc.) in the extracted text, and then paste it inside the question, as a block of code. Seeing the full command and errors helps pinpointing better the possible causes (personal info is not important to this end! always replace it before pasting).