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
Fetching and pulling take a very long time since the latest update #23115
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Triage summary: This is most likely a bug (suggested labels: bug, windows, priority-2 — pending maintainer approval). The reporter gives a specific version (3.6.10), OS (Windows 10), and a reproducible symptom (fetch/pull hangs 15-20 min, with toggling the "Use system OpenSSH" setting providing a one-time workaround), which points to a regression tied to the recent update rather than a local environment misconfiguration.
Duplicate check: No exact duplicate found. Related but distinct reports: #22863 ("Desktop App Fetch/Pull from origin hangs indefinitely", macOS, SSH, still open/unresolved) and #22893 ("git-remote-https hanging at 99% CPU on fetch", macOS, closed as more-info-needed) describe similar indefinite-hang symptoms, but neither is Windows-specific nor mentions the "Use system OpenSSH" toggle as a workaround, so this issue stands on its own rather than duplicating them.
Initial hypothesis: The reporter's fix — toggling "Use system OpenSSH" and restarting — points at SSH transport resolution rather than HTTPS/network issues, and it only works once per restart, suggesting some cached/memoized state becomes stale after the toggle (or after the recent update) and isn't refreshed on subsequent fetches. getSSHEnvironment in app/src/lib/ssh/ssh.ts (lines 39-67) decides at each fetch whether to use C:/Windows/System32/OpenSSH/ssh.exe via GIT_SSH_COMMAND, based on isWindowsOpenSSHAvailable(), which is wrapped in memoizeOne (lines 13-25) and only re-evaluates when called with different arguments (it takes none, so it effectively caches its result for the process lifetime). If a stale/incorrect cached result from an early call interacts poorly with the bundled Git's own SSH resolution, repeated fetches could keep using a slow or blocking SSH path until the setting is toggled, which forces a fresh environment variable to be computed for the very next git operation. This is also notable because the most recent related release (#23075) bumped Git for Windows from 2.56.0.windows.2 to 2.56.0.windows.4, so an upstream change in Git's own SSH/OpenSSH resolution on Windows could also be contributing; this needs confirmation from the reporter (e.g., whether downgrading to a pre-3.6.10 build restores normal fetch speed, and whether GIT_SSH_COMMAND/verbose SSH output clarifies which SSH client is actually invoked during a slow fetch).
Additional information after investigating the issue:
My repository uses HTTPS, not SSH.
Simply restarting GitHub Desktop does not resolve the problem.
Toggling the "Use system OpenSSH" setting and restarting has temporarily allowed a successful fetch/pull, but the issue returns afterward.
Fetch/pull operations normally hang for 10-20 minutes or longer and cannot be cancelled through GitHub Desktop.
The logs show some successful fetch operations completing in approximately 1 second, alongside other operations that appear to stall without a corresponding completion entry.
GitHub Desktop successfully retrieves my GitHub credentials from its credential store.
Running git fetch origin from Command Prompt triggers a separate Git Credential Manager sign-in window, so I haven't completed that comparison.
Since the repository uses HTTPS, the effect of toggling the OpenSSH setting is particularly strange. It seems to trigger some kind of temporary change in GitHub Desktop's behavior, even though SSH shouldn't be involved in the actual connection.
Seconding this issue. I'm not particularly well-versed in setting up Git repos so I can't give as much useful info as OP, but after getting the most recent update my team and I have been having huge slowdowns with basic fetches.
Another observation with "Use system OpenSSH" disabled: Fetch origin sometimes remains stuck at "remote: Compressing objects: 100% (16/16), done."
The operation doesn't finish even though the remote compression step reports 100%.
This seems consistent with the broader fetch/pull slowdown, but provides a more specific point at which the progress indicator stops updating.
I ask because in 3.6.8 - 3.6.10 we shipped some fundamental dependency upgrades - Git and Electron which either could have resulted in a change of behavior here. Tho sounds more likely that it would be Git upgrade.
⚠️ I would not recommend staying on 3.6.7 as those dependency upgrades came with several security patches.
7. @elawad or @BlinkerHigh Have either of you tried downloading a previous release such as 3.6.7 to see if it works?
I ask because in 3.6.8 - 3.6.10 we shipped some fundamental dependency upgrades - Git and Electron which either could have resulted in a change of behavior here. Tho sounds more likely that it would be Git upgrade. ⚠️ I would not recommend staying on 3.6.7 as those dependency upgrades came with several security patches.
Yes, the issue appeared only in the latest version.
Previous versions were fine.
Same issue on my side since the latest update. Takes more than a minute to fetch or push. My repo is on gitlab, not sure if that matters.
(the user name error is in old logs as well, must be unrelated)
2026-11-05T08:59:00.098Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 104.420s)
2026-11-05T08:59:02.248Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 2.150s)
2026-11-05T08:59:45.446Z - info: [ui] [Timing] Action 'checkout branch from list' for 'space-prototype' took 0.054s
2026-11-05T08:59:51.445Z - info: [ui] Executing createStashEntry: git stash push -m !!GitHub_Desktop<master> (took 2.567s)
2026-11-05T08:59:54.613Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 2.133s)
2026-11-05T08:59:55.090Z - info: [ui] [Timing] Action 'stash and checkout' for 'space-prototype' took 6.294s
2026-11-05T09:02:19.715Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 197.325s)
2026-11-05T09:02:21.850Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 2.135s)
2026-11-05T09:02:37.288Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 156.327s)
2026-11-05T09:02:39.341Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 2.053s)
2026-11-05T09:03:41.792Z - info: [ui] credential-helper: could not find credential for https://github.com/
2026-11-05T09:03:41.803Z - error: [ui] `git fetch --progress --prune --recurse-submodules=on-demand -- origin` exited with an unexpected code: 128.
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2026-11-05T09:04:05.460Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 23.609s)
2026-11-05T09:04:24.800Z - info: [ui] Executing fastForwardBranches: git fetch . --show-forced-updates --no-write-fetch-head --stdin (took 105.388s)
2026-11-05T09:04:28.754Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 5 repositories took 332.0s of which 101.1s paused, total 433.2s
I have at least three team members complaining of the same issue. Started late last week/early this week. All on Windows, all using 3.6.10. If you look at Task Manager "Git for Windows" is taking up an extreme amount of CPU.
It just took me an hour and 15 minutes to do a single cherry pick (on an underpowered VM), with the various branch checkouts and pulls needed during that!
I looked into this and the only change between 3.6.9 and 3.6.10 is the bundled Git for Windows update (2.56.0.windows.2 → 2.56.0.windows.4 in #23075), with no changes to Desktop's own code. So the slowdown most likely comes from those Git builds rather than from Desktop, and since we can't reproduce it, there's nothing we can do right now I don't think.
I looked into this and the only change between 3.6.9 and 3.6.10 is the bundled Git for Windows update (2.56.0.windows.2 → 2.56.0.windows.4 in #23075), with no changes to Desktop's own code. So the slowdown most likely comes from those Git builds rather than from Desktop, and since we can't reproduce it, there's nothing we can do right now I don't think.
Maybe that's the case, but I wouldn't base the conclusion entirely on changes from 3.6.9 to 3.6.10. Maybe someone else has done more testing and can confirm, but I don't know if 3.6.10 was the first version with this issue. It could also have been from 3.6.9 or 3.6.8 I expect.
@DylanDevelops What does it mean? GitDesktop is just not useable anymore for a bunch of users as you can tell from this thread.
Did you check the previous comments, including mine, providing extra information?
to me it feels almost like this is more of a UI issue. Like when I push something, it shows up on the online remote almost instantly but the app-UI still shows "in progress" for a while.
I've got a fix that has worked on 2/2 of our affected machines to far:
Install git for Windows 2.56.0.windows.4
Do a 'git fetch' on your repo from a command prompt.
It will run some maintenance task on your local repo.
Github Desktop is then fast again.
How I got here:
In light of Dylan's comments, it seemed simple to test his theory by doing a git fetch in the windows.1 i had installed, update to .4 and if that was much slower - then we redirect our problem at the git for windows team rather than github desktop.
What actually happened is in .1, the fetch was instant as expected.
Then in .4 it ran some maintenance task that took ages:
"git fetch
Enumerating objects: 161380, done.
Counting objects: 100% (161380/161380), done.
Delta compression using up to 2 threads
Compressing objects: 100% (43289/43289), done.
Writing objects: 100% (161380/161380), done.
Total 161380 (delta 124046), reused 155359 (delta 118025), pack-reused 0 (from 0)"
Subsequent git fetch in .4 was then fast
As was github desktop.
I repeated this process on a second machine, this time trying a github desktop fetch after installing .4 (without using the command line first) and it was still slow. So it wasn't the upgrade to .4 that fixed it. Then I did the command line fetch, it once again did the maintenance task - and now this second machine is also fast in github desktop.
I just tried the above on a machine not suffering from slowdown and git fetch does not perform the maintenance task. So it seems able to determine which repo's need compressed.
On a machine that was both slow and needed a fetch, it does the fetch first then the compress. Which sort of matches the UI of github Desktop in that it spends ages stuck, then frees up and claims it was down 15 minutes ago. The fetch probably was... then I guess git did this compression task? But for some reason the benefit of that when performed via Github Desktop doesn't stick and next fetch it compresses again? Whereas from the command line - it remains fast thereafter. This is all speculative obviously.
I have already mentioned that turning "Use System OpenSSH" on and off makes fetching/pulling work ONCE every time I restart.
How is it not enough to find the source of the problem?
My large repositories with 1000s of images take a long time and heavy CPU to fetch even if nothing changed, when it used to be near instantaneous; but my repositories of just code have no noticeable slowdown. Perhaps reproduction would be easier with a large repository?
The issue did not occur until 3.6.10. I'd return to 3.6.9 but can't suppress the auto update.
Recent versions of Git may invoke git maintenance with the --detach option after a fetch or commit. Since --detach is not supported on Windows, it runs in the foreground and forces GitHub Desktop to wait for it to complete. Furthermore, because GitHub Desktop runs multiple Git commands in parallel, perhaps old pack files remain locked and fail to be deleted, and subsequent git maintenance runs lengthy git repack operations again. This explains why running git fetch from the CLI temporarily resolves the issue.
You can prevent this issue by disabling auto-maintenance as follows:
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Activity
desktop-triage commentedon Nov 3, 2026
Triage summary: This is most likely a bug (suggested labels:
bug,windows,priority-2— pending maintainer approval). The reporter gives a specific version (3.6.10), OS (Windows 10), and a reproducible symptom (fetch/pull hangs 15-20 min, with toggling the "Use system OpenSSH" setting providing a one-time workaround), which points to a regression tied to the recent update rather than a local environment misconfiguration.Duplicate check: No exact duplicate found. Related but distinct reports: #22863 ("Desktop App Fetch/Pull from origin hangs indefinitely", macOS, SSH, still open/unresolved) and #22893 ("git-remote-https hanging at 99% CPU on fetch", macOS, closed as more-info-needed) describe similar indefinite-hang symptoms, but neither is Windows-specific nor mentions the "Use system OpenSSH" toggle as a workaround, so this issue stands on its own rather than duplicating them.
Initial hypothesis: The reporter's fix — toggling "Use system OpenSSH" and restarting — points at SSH transport resolution rather than HTTPS/network issues, and it only works once per restart, suggesting some cached/memoized state becomes stale after the toggle (or after the recent update) and isn't refreshed on subsequent fetches.
getSSHEnvironmentin app/src/lib/ssh/ssh.ts (lines 39-67) decides at each fetch whether to useC:/Windows/System32/OpenSSH/ssh.exeviaGIT_SSH_COMMAND, based onisWindowsOpenSSHAvailable(), which is wrapped inmemoizeOne(lines 13-25) and only re-evaluates when called with different arguments (it takes none, so it effectively caches its result for the process lifetime). If a stale/incorrect cached result from an early call interacts poorly with the bundled Git's own SSH resolution, repeated fetches could keep using a slow or blocking SSH path until the setting is toggled, which forces a fresh environment variable to be computed for the very next git operation. This is also notable because the most recent related release (#23075) bumped Git for Windows from 2.56.0.windows.2 to 2.56.0.windows.4, so an upstream change in Git's own SSH/OpenSSH resolution on Windows could also be contributing; this needs confirmation from the reporter (e.g., whether downgrading to a pre-3.6.10 build restores normal fetch speed, and whetherGIT_SSH_COMMAND/verbose SSH output clarifies which SSH client is actually invoked during a slow fetch).BlinkerHigh commentedon Nov 3, 2026
Additional information after investigating the issue:
git fetch originfrom Command Prompt triggers a separate Git Credential Manager sign-in window, so I haven't completed that comparison.Since the repository uses HTTPS, the effect of toggling the OpenSSH setting is particularly strange. It seems to trigger some kind of temporary change in GitHub Desktop's behavior, even though SSH shouldn't be involved in the actual connection.
daclare24 commentedon Nov 3, 2026
Seconding this issue. I'm not particularly well-versed in setting up Git repos so I can't give as much useful info as OP, but after getting the most recent update my team and I have been having huge slowdowns with basic fetches.
elawad commentedon Nov 3, 2026
I'm including logs which may help. Some actions take several seconds, as high as 15sec.
Redacted repo/branch names.
BlinkerHigh commentedon Nov 4, 2026
Another observation with "Use system OpenSSH" disabled: Fetch origin sometimes remains stuck at "remote: Compressing objects: 100% (16/16), done."
The operation doesn't finish even though the remote compression step reports 100%.
This seems consistent with the broader fetch/pull slowdown, but provides a more specific point at which the progress indicator stops updating.
tidy-dev commentedon Nov 4, 2026
@elawad or @BlinkerHigh Have either of you tried downloading a previous release such as 3.6.7 to see if it works?
I ask because in 3.6.8 - 3.6.10 we shipped some fundamental dependency upgrades - Git and Electron which either could have resulted in a change of behavior here. Tho sounds more likely that it would be Git upgrade.
elawad commentedon Nov 4, 2026
@tidy-dev Thanks, I tested again today with latest and seems back to normal speeds.
I also tested v
3.6.7and it's the same normal speeds as well.So no longer an issue for me on latest. 👍
BlinkerHigh commentedon Nov 5, 2026
Yes, the issue appeared only in the latest version.
Previous versions were fine.
mrabenhaupt commentedon Nov 5, 2026
Same issue on my side since the latest update. Takes more than a minute to fetch or push. My repo is on gitlab, not sure if that matters.
(the user name error is in old logs as well, must be unrelated)
winkels commentedon Nov 5, 2026
I have at least three team members complaining of the same issue. Started late last week/early this week. All on Windows, all using 3.6.10. If you look at Task Manager "Git for Windows" is taking up an extreme amount of CPU.
markbrill-insphire commentedon Nov 5, 2026
It just took me an hour and 15 minutes to do a single cherry pick (on an underpowered VM), with the various branch checkouts and pulls needed during that!
Edddy commentedon Nov 5, 2026
I suffering with this bug too. The tool is useless since 3.6.10.
6 remaining items
DylanDevelops commentedon Nov 10, 2026
I'm looking into this to see if I can potentially fix the issue.
Evie211974 commentedon Nov 10, 2026
Vasquez
DylanDevelops commentedon Nov 10, 2026
I looked into this and the only change between 3.6.9 and 3.6.10 is the bundled Git for Windows update (
2.56.0.windows.2→2.56.0.windows.4in #23075), with no changes to Desktop's own code. So the slowdown most likely comes from those Git builds rather than from Desktop, and since we can't reproduce it, there's nothing we can do right now I don't think.MattJCarr commentedon Nov 10, 2026
Maybe that's the case, but I wouldn't base the conclusion entirely on changes from 3.6.9 to 3.6.10. Maybe someone else has done more testing and can confirm, but I don't know if 3.6.10 was the first version with this issue. It could also have been from 3.6.9 or 3.6.8 I expect.
BlinkerHigh commentedon Nov 10, 2026
@DylanDevelops What does it mean? GitDesktop is just not useable anymore for a bunch of users as you can tell from this thread.
Did you check the previous comments, including mine, providing extra information?
mrabenhaupt commentedon Nov 10, 2026
to me it feels almost like this is more of a UI issue. Like when I push something, it shows up on the online remote almost instantly but the app-UI still shows "in progress" for a while.
markbrill-insphire commentedon Nov 10, 2026
I've got a fix that has worked on 2/2 of our affected machines to far:
Install git for Windows 2.56.0.windows.4
Do a 'git fetch' on your repo from a command prompt.
It will run some maintenance task on your local repo.
Github Desktop is then fast again.
How I got here:
In light of Dylan's comments, it seemed simple to test his theory by doing a git fetch in the windows.1 i had installed, update to .4 and if that was much slower - then we redirect our problem at the git for windows team rather than github desktop.
What actually happened is in .1, the fetch was instant as expected.
Then in .4 it ran some maintenance task that took ages:
"git fetch
Enumerating objects: 161380, done.
Counting objects: 100% (161380/161380), done.
Delta compression using up to 2 threads
Compressing objects: 100% (43289/43289), done.
Writing objects: 100% (161380/161380), done.
Total 161380 (delta 124046), reused 155359 (delta 118025), pack-reused 0 (from 0)"
Subsequent git fetch in .4 was then fast
As was github desktop.
I repeated this process on a second machine, this time trying a github desktop fetch after installing .4 (without using the command line first) and it was still slow. So it wasn't the upgrade to .4 that fixed it. Then I did the command line fetch, it once again did the maintenance task - and now this second machine is also fast in github desktop.
markbrill-insphire commentedon Nov 10, 2026
I just tried the above on a machine not suffering from slowdown and git fetch does not perform the maintenance task. So it seems able to determine which repo's need compressed.
On a machine that was both slow and needed a fetch, it does the fetch first then the compress. Which sort of matches the UI of github Desktop in that it spends ages stuck, then frees up and claims it was down 15 minutes ago. The fetch probably was... then I guess git did this compression task? But for some reason the benefit of that when performed via Github Desktop doesn't stick and next fetch it compresses again? Whereas from the command line - it remains fast thereafter. This is all speculative obviously.
BlinkerHigh commentedon Nov 10, 2026
I have already mentioned that turning "Use System OpenSSH" on and off makes fetching/pulling work ONCE every time I restart.
How is it not enough to find the source of the problem?
GreenSpiny commentedon Nov 12, 2026
My large repositories with 1000s of images take a long time and heavy CPU to fetch even if nothing changed, when it used to be near instantaneous; but my repositories of just code have no noticeable slowdown. Perhaps reproduction would be easier with a large repository?
The issue did not occur until 3.6.10. I'd return to 3.6.9 but can't suppress the auto update.
KojiNakamaru commentedon Nov 12, 2026
Recent versions of Git may invoke
git maintenancewith the--detachoption after a fetch or commit. Since--detachis not supported on Windows, it runs in the foreground and forces GitHub Desktop to wait for it to complete. Furthermore, because GitHub Desktop runs multiple Git commands in parallel, perhaps old pack files remain locked and fail to be deleted, and subsequentgit maintenanceruns lengthygit repackoperations again. This explains why runninggit fetchfrom the CLI temporarily resolves the issue.You can prevent this issue by disabling auto-maintenance as follows:
Diode-exe commentedon Nov 30, 2026
I'm suffering from slowdowns and both git for Windows and git for WSL2 are very fast when commiting and pushing.
Update: it doesn't seem to be nearly as slow in a regular Windows-native repo, but it is even slower than usual in a WSL2 repo.