49

After a fresh install, I could clone the repository, make changes and commits, but when I try to push I get the following warning:

warning: could not find UI helper 'GitHub.UI'

After this, the process seems to still be running, but it gets stuck until I press Ctrl + C it.

I couldn't find this error online.

I can push from GitHub Desktop.

3
  • 1
    Git itself has no occurrences of "UI helper" in the source code. Git does have credential helpers and perhaps you have one configured that, in turn, tries to run something called a "UI helper". The output of git config --list --show-origin might be helpful here. Commented Dec 13, 2022 at 5:07
  • 2
    Update: this appears to come from git-credential-manager. Commented Dec 13, 2022 at 5:14
  • Git Bash presumably implies Windows(?). Shouldn't it have more tags? Commented Jan 16, 2023 at 17:27

13 Answers 13

19

Maybe, there is some kind of issue in the latest update of Git v(2.39.0). However, you can get rid of this by installing the previous version of Git v(2.38.1).

Follow these few steps to solve this issue:

  1. Uninstall the currently installed Git.
  2. Go to Git for Windows 2.38.1 to download the Git v(2.38.1)
  3. Install the Git v(2.38.1)

Done!

Sign up to request clarification or add additional context in comments.

4 Comments

This is the best and working answer!
as cem answered below v2.39.0(2) fixed the problem, no need to downgrade
@perimeno Yes, but there was no update available at that time.
This solved me on windows 11 22H2
19

I have tried running the command in CMD, and it worked. Apparently it's because it can't show the options to authenticate.

2 Comments

I got the same message trying to clone a repository. I was going to take this suggestion, but because I'm trying to force myself to learn PowerShell I ended up trying from there. I got the same warning message, but instead of locking up (like it did in bash) I got a text menu of ways to authenticate with credentials manager. Using the default, "Web browser", with a browser already authenticated to my Github account worked perfectly.
I found that once I used CMD to authenticate to BitBucket, I could then use VS Code and Git BASH to commit, push, fetch, etc.
14

They fixed the issue with the v2.39.0(2) update. Mine is solved with this version. Check the patch notes:

The Git Credential Manager version shipped with Git for Windows v2.39.0 could not always find its UI helper which was fixed by upgrading to a fixed version.

Comments

12

I tried installing an older version (2.38.x) and it worked.

2 Comments

Seems like 2.39.0 has some issue
It worked on 2.38 perfectly after entering PAT (Personal Access Token).
7

Actually the version 2.39 (released 3 days ago) is broken for Atlassian too with this error 'could not find UI helper "Atlassian.Bitbucket.UI"', and you won't be able to download from Visual Studio Code neither.

The only solution is download a previous version of Git, like 2.38.X.

Comments

6

Cloning from the project location, instead of git bash, gave me the below three options and after selecting PAT (personal access token) and entering my PAT I was able to successfully clone my repository.

People, who don't know about PAT, can follow the below link.

Enter image description here

How to generate a personal access token

2 Comments

Thank you. It worked and completely fixed the issue without downgrading git.
Please review Why not upload images of code/errors when asking a question? (e.g., "Images should only be used to illustrate problems that can't be made clear in any other way, such as to provide screenshots of a user interface.") and do the right thing (it covers answers as well). Thanks in advance.
5

I installed GitHub Desktop, and it solved the problem.

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
5

I was trying to clone a repository; passing credentials in the clone URL solved the issue for me.

The details are here.

Comments

3

I tried Git clone on a fresh installed Git Bash and was prompted with the same message. I guess it happens when trying to authenticate the user.

I resolved it by either using GitHub Desktop or installing older versions on Git Bash.

You can install older releases here: Git for Windows.

Comments

3

I've also encountered a similar issue with Git for 2.39.0.windows.1.

A Git clone from an Atlassian cloud-hosted Bitbucket repository gave me a

warning: could not find UI helper 'Atlassian.Bitbucket.UI'

I uninstalled 2.39 and installed 2.38 with the links above and bam, Atlassian Bitbucket displays its Connect to Bitbucket login modal.

Comments

0

Just delete Git from Control Panel and reinstall from the Git scm website, and then push. It will ask for authentication. Provide Git the email address and password. Now it solved the problem.

2 Comments

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
How exactly does one get to Control Panel? It is also one of the few cases where a screenshot would be appropriate. Please respond by editing (changing) your answer, not here in comments (********* without ********* "Edit:", "Update:", or similar - the answer should appear as if it was written today).
0

It looks like the problem with the git-credential-manager which is installed along with the Git installation.

Uninstall Git, and then install again.

Select 'None' when "choose a credential Manager" screen to skip this issue.

Choose None instead of Git Credential Manager

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
-2

Installing an old version worked for me, version Git-2.38.0-rc0-64-bit.exe to be specific.

1 Comment

Welcome to Stackoverflow! Great that you're looking to contribute by answering some questions. It seems, however, that your answer is a duplicate of already existing answers though. This is not really useful, so try to avoid this in the future.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.