You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
git: 'remote-https' is not a git command. See 'git --help' #10345
I'll join this issue since it has been opened many times before but this instance is recent. I'm getting the same problem:
It doesn't matter if it's a clone, push, fetch or pull, it will appear every time. Reinstalling the application made it work just once, and the next time I rebooted my PC it appeared again.
Can you try reinstalling GitHub Desktop by following these steps?
1. Close GitHub Desktop (you may need to use the Task Manger if you are unable to close the application directly)
2. Remove all of the files in `%LOCALAPPDATA%\GitHubDesktop\`
3. Reinstall GitHub Desktop from http://desktop.github.com
@gerardreches thanks for testing that out. Are you running any security/antivirus software on this machine that could be interfering with the installation of GitHub Desktop?
This are just some of the opened issues for this same problem that I've found with a simple search, and I'm sure that many more can be found. This is a critical issue since we have to end up using the command line for our Git tasks. It's reason enough for most people to not use Github Desktop anymore.
If you want, I can open a new issue detailing the problem the best I can and then you can merge all these other opened issues into it so that we can work on it from there.
@gerardreches thanks for testing that out. Are you running any security/antivirus software on this machine that could be interfering with the installation of GitHub Desktop?
And about your question, no, the only security/antivirus software that I'm running is Windows Defender, that comes in all Windows 10 installations. I also have a MacBook Pro and Github Desktop is running with no issues there, so something to ask might be the OS that the people with this issue are running.
There's nothing that seems wrong about the installation, and even when opening Github Desktop with admin privileges the error still appears. It's nothing that shows up when you open it, but when you attempt to do any action that makes Github Desktop try to connect with any remote repository.
Hi @gerardreches, thanks for doing the digging to produce that list of related issues. We see this issue every now and then but we've never been able to reproduce it. For some users their anti virus seems to be the culprit and for others a complete reinstallation seems to solve it implying that something (AV or other tool) has modified the Git folder we bundle with GitHub Desktop. We would love some help trying to get to the bottom of this, I've got a hunch of what might be going on but I'll need your help to validate it.
Do you know if you've installed Git for Windows separately from GitHub Desktop or if you've got any other application installed on your system that bundles Git?
Could you open the DevTools console (View menu followed by Toggle Developer Tools) and type JSON.stringify(process.env)` into the console and copy and paste the output here? Should look something like this:
How are you launching GitHub Desktop. Via a start menu shortcut, desktop shortcut, or through some other tool?
Does your repository contain any Git hooks that you're aware of?
Do you know if you've installed Git for Windows separately from GitHub Desktop or if you've got any other application installed on your system that bundles Git?
I've also some VMs including Git, but since they are like a separated machine, it shouldn't affect.
Could you open the DevTools console (View menu followed by Toggle Developer Tools) and type JSON.stringify(process.env)` into the console and copy and paste the output here? Should look something like this:
@gerardreches Thanks so much for that information. While it unfortunately disproved my hypothesis of what's going on at least we have some more information to go on. Do you know if this started happening recently or as a result of some upgrade to GitHub Desktop?
@gerardreches Thanks so much for that information. While it unfortunately disproved my hypothesis of what's going on at least we have some more information to go on. Do you know if this started happening recently or as a result of some upgrade to GitHub Desktop?
I cannot confirm that, but unless it upgrades in the background, I didn't upgrade it. It was working fine about 2-3 weeks ago, then I went on holidays for a week, and when I was back it was not working. So I assume it started happening recently, but if we take a look at the other opened issues, it's not really something that appeared recently for the first time.
I think I should provide some help with this :
When I open GithubDesktop.exe directly from file explorer this error occurs (no matter the one inside app-2.5.3 folder or the one outside).
But when I open GithubDesktop.exe from Listary the error is gone (again no matter which .exe).
I have no idea why this happens but, maybe it can help.
@mahletb and @GrahamSH-EXB are either of you running antivirus software on your system that could be interfering with GitHub Desktop? Did you delete %LocalAppData%/GitHubDesktop prior to reinstalling?
git clone https://github.com/zuka1337/docker-cacti
Cloning into 'docker-cacti'...
git: 'remote-https' is not a git command. See 'git --help'.
git clone https://github.com/zuka1337/docker-cacti
Cloning into 'docker-cacti'...
git: 'remote-https' is not a git command. See 'git --help'.
Centos 7
git version 2.30.0
compiled source code
@zuka1337 - I've just come across the same issue on CentOS 7. Installing libcurl-devel and re-compiling fixed it for me.
Reacted by Uwe Kubosch, Carlos Dias, Hyun Wook Kim, ZhangYJ, jdhao, Victor Yarema, NieLong, Yingchun Lai, lijo1989, AbduSami bin Khurram and 2 more
Reacted by Uwe Kubosch and lijo1989
Reacted by Uwe Kubosch and lijo1989
Reacted by Uwe Kubosch, jdhao, lijo1989 and AbduSami bin Khurram
Also having this issue on Windows 10, reinstall worked for a single extra push before returning to doing this. Reinstalled and also deleted everything from roaming.
Github Desktop version 2.9.0 (x64), reinstalling (using Control panel or Iobit Uninstaller) doesn't help anymore. It just doesn't work, trying previous versions.
git clone https://github.com/zuka1337/docker-cacti
Cloning into 'docker-cacti'...
git: 'remote-https' is not a git command. See 'git --help'.
Centos 7
git version 2.30.0
compiled source code
@zuka1337 - I've just come across the same issue on CentOS 7. Installing libcurl-devel and re-compiling fixed it for me.
Hopefully this one works for you.
I removed spaces with my file directories (foldername) and tried again.
or you can create new directory with folder names without spaces
Just in case it helps anyone else who ended up here, I installed some software that had its own version of git for internal use that was being called by my terminal and it resulted in this same initial error when I tried to clone a repo.
Activity
Shivam-2326 commentedon Aug 7, 2020
I am gitting this whenever I push my local changes to the remote repository. Please try to fix this problem
steveward commentedon Aug 7, 2020
Can you try reinstalling GitHub Desktop by following these steps?
%LOCALAPPDATA%\GitHubDesktop\Let me know if that doesn't get things working.
gerardreches commentedon Aug 11, 2020
I'll join this issue since it has been opened many times before but this instance is recent. I'm getting the same problem:
It doesn't matter if it's a clone, push, fetch or pull, it will appear every time. Reinstalling the application made it work just once, and the next time I rebooted my PC it appeared again.
gerardreches commentedon Aug 11, 2020
On Windows 10:
user/AppData/Local/GithubDesktopThe issue persists.
steveward commentedon Aug 12, 2020
@gerardreches thanks for testing that out. Are you running any security/antivirus software on this machine that could be interfering with the installation of GitHub Desktop?
gerardreches commentedon Aug 12, 2020
Hey @steveward , there is a HUGE amount opened issues for this same problem, and I think they should be merged to focus on a single thread:
#6605
#6787
#7451
#8223
#9229
#9390
#9516
#9556
#9568
#9937
#10203
#10345
#10367
This are just some of the opened issues for this same problem that I've found with a simple search, and I'm sure that many more can be found. This is a critical issue since we have to end up using the command line for our Git tasks. It's reason enough for most people to not use Github Desktop anymore.
If you want, I can open a new issue detailing the problem the best I can and then you can merge all these other opened issues into it so that we can work on it from there.
gerardreches commentedon Aug 12, 2020
And about your question, no, the only security/antivirus software that I'm running is Windows Defender, that comes in all Windows 10 installations. I also have a MacBook Pro and Github Desktop is running with no issues there, so something to ask might be the OS that the people with this issue are running.
There's nothing that seems wrong about the installation, and even when opening Github Desktop with admin privileges the error still appears. It's nothing that shows up when you open it, but when you attempt to do any action that makes Github Desktop try to connect with any remote repository.
niik commentedon Aug 13, 2020
Hi @gerardreches, thanks for doing the digging to produce that list of related issues. We see this issue every now and then but we've never been able to reproduce it. For some users their anti virus seems to be the culprit and for others a complete reinstallation seems to solve it implying that something (AV or other tool) has modified the Git folder we bundle with GitHub Desktop. We would love some help trying to get to the bottom of this, I've got a hunch of what might be going on but I'll need your help to validate it.
Do you know if you've installed Git for Windows separately from GitHub Desktop or if you've got any other application installed on your system that bundles Git?
Could you open the DevTools console (
Viewmenu followed byToggle Developer Tools) and typeJSON.stringify(process.env)` into the console and copy and paste the output here? Should look something like this:How are you launching GitHub Desktop. Via a start menu shortcut, desktop shortcut, or through some other tool?
Does your repository contain any Git hooks that you're aware of?
Does your repository make use of Git LFS?
gerardreches commentedon Aug 13, 2020
Yes, I've installed it separately from GitHub Desktop and long ago before it. Installed from: https://git-scm.com/
I've also some VMs including Git, but since they are like a separated machine, it shouldn't affect.
"{"ALLUSERSPROFILE":"C:\\ProgramData","ANDROID_SDK_HOME":"C:\\Android","APPDATA":"C:\\Users\\Gerard\\AppData\\Roaming","ChocolateyInstall":"C:\\ProgramData\\chocolatey","ChocolateyLastPathUpdate":"do. ene. 28 17:24:57 2018","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"GERARD-FIX","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","FPS_BROWSER_APP_PROFILE_STRING":"Internet Explorer","FPS_BROWSER_USER_PROFILE_STRING":"Default","FP_NO_HOST_CHECK":"NO","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\Gerard","JAVA_HOME":"C:\\Program Files\\Java\\jdk1.8.0_65\\","LOCALAPPDATA":"C:\\Users\\Gerard\\AppData\\Local","LOCAL_GIT_DIRECTORY":"C:\\Users\\Gerard\\AppData\\Local\\GitHubDesktop\\app-2.5.3\\resources\\app\\git","LOGONSERVER":"\\\\GERARD-FIX","NUMBER_OF_PROCESSORS":"4","OculusBase":"C:\\Program Files\\Oculus\\","OneDrive":"A:\\Bibliotecas\\OneDrive","OneDriveConsumer":"A:\\Bibliotecas\\OneDrive","OS":"Windows_NT","path":"C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files\\Oculus\\Support\\oculus-runtime;C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;P:\\Programacion\\xampp\\php;P:\\Programacion\\Brackets\\command;C:\\Program Files (x86)\\AMD\\ATI.ACE\\Core-Static;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Programas\\Programacion\\xampp\\php;C:\\Program Files (x86)\\GtkSharp\\2.12\\bin;C:\\Users\\Gerard\\AppData\\Roaming\\Composer\\vendor\\bin;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\ProgramData\\chocolatey\\bin;C:\\Programas\\Programacion\\nodejs\\;C:\\Program Files (x86)\\Yarn\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Programas\\Programacion\\Microsoft VS Code\\bin;C:\\Program Files\\dotnet\\;C:\\Android;C:\\Windows\\System32;P:\\HashiCorp\\Vagrant\\bin;C:\\Users\\Gerard\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Gerard\\AppData\\Roaming\\npm;C:\\Users\\Gerard\\AppData\\Local\\Yarn\\bin;C:\\Programas\\Programacion\\Microsoft VS Code\\bin;P:\\Microsoft VS Code Insiders\\Microsoft\\bin;C:\\Users\\Gerard\\AppData\\Local\\GitHubDesktop\\bin","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 60 Stepping 3, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"3c03","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PSModulePath":"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\","PUBLIC":"C:\\Users\\Public","SESSIONNAME":"Console","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\Gerard\\AppData\\Local\\Temp","TMP":"C:\\Users\\Gerard\\AppData\\Local\\Temp","USERDOMAIN":"GERARD-FIX","USERDOMAIN_ROAMINGPROFILE":"GERARD-FIX","USERNAME":"Gerard","USERPROFILE":"C:\\Users\\Gerard","VBOX_MSI_INSTALL_PATH":"P:\\Oracle\\VirtualBox\\","VS140COMNTOOLS":"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\","windir":"C:\\WINDOWS"}"Start menu shortcut. Launching it via desktop shortcut made no difference.
Nope, I've never used them.
Negative. But in the past I had one and I had no problems with it.
I hope this helps.
niik commentedon Aug 14, 2020
@gerardreches Thanks so much for that information. While it unfortunately disproved my hypothesis of what's going on at least we have some more information to go on. Do you know if this started happening recently or as a result of some upgrade to GitHub Desktop?
gerardreches commentedon Aug 14, 2020
I cannot confirm that, but unless it upgrades in the background, I didn't upgrade it. It was working fine about 2-3 weeks ago, then I went on holidays for a week, and when I was back it was not working. So I assume it started happening recently, but if we take a look at the other opened issues, it's not really something that appeared recently for the first time.
jamesgreenesr commentedon Aug 15, 2020
KisenaMiyuki commentedon Aug 23, 2020
I think I should provide some help with this :
When I open GithubDesktop.exe directly from file explorer this error occurs (no matter the one inside app-2.5.3 folder or the one outside).
But when I open GithubDesktop.exe from Listary the error is gone (again no matter which .exe).
I have no idea why this happens but, maybe it can help.
steveward commentedon Aug 24, 2020
@KisenaMiyuki that's helpful. Could you try running
githubfrom the command line to see if you can reproduce the error again?3 remaining items
steveward commentedon Dec 15, 2020
@mahletb and @GrahamSH-EXB are either of you running antivirus software on your system that could be interfering with GitHub Desktop? Did you delete
%LocalAppData%/GitHubDesktopprior to reinstalling?zuka1337 commentedon Dec 29, 2020
I got the same error on virtual server:
paulthomson-v3 commentedon Jan 10, 2021
@zuka1337 - I've just come across the same issue on CentOS 7. Installing
libcurl-develand re-compiling fixed it for me.jdhao commentedon Mar 29, 2021
Same issue on CentOS 7.4. Installing
libcurl-develfix the issue for me (note that you need to re-build git after that).Relevant post: https://stackoverflow.com/a/65876436/6064933
Hao-tian-Zheng commentedon May 9, 2021
I got the same issue on Window 10.
Then I took the above measures, but the issue persists.
I think there might be a problem with the uninstall method.
I just used the uninstall method that comes with windows.

And reinstall Github Desktop from http://desktop.github.com.
The problem is solved.
Nekuromu commentedon May 17, 2021
Also having this issue on Windows 10, reinstall worked for a single extra push before returning to doing this. Reinstalled and also deleted everything from roaming.
steveward commentedon May 17, 2021
@Nekuromu any chance you are running antivirus/security software other than Windows Defender on this machine?
Fauzdar1 commentedon Jul 28, 2021
Github Desktop version 2.9.0 (x64), reinstalling (using Control panel or Iobit Uninstaller) doesn't help anymore. It just doesn't work, trying previous versions.
yuchen071 commentedon Jan 5, 2022
Adding the folder containing
git-remote-https.exeto PATH, in my caseC:\Program Files\Git\mingw64\libexec\git-core, solved the problem for me.Don't know why this is required as my other computer did not need this workaround for Github Desktop to work properly.
lijo1989 commentedon Jan 13, 2022
you saved the time... thanks bro
zhuzi86 commentedon Mar 30, 2022
this is the answer
ejtmaravillas commentedon Jun 6, 2024
Hopefully this one works for you.
I removed spaces with my file directories (foldername) and tried again.
or you can create new directory with folder names without spaces
kikiwora commentedon Jul 11, 2024
Doing the
brew upgrade gitsolved the issue for me.Maybe someone will find this when Cocopods fail to update
CocoaLumberjackClaar727 commentedon Jun 23, 2025
Just in case it helps anyone else who ended up here, I installed some software that had its own version of git for internal use that was being called by my terminal and it resulted in this same initial error when I tried to clone a repo.