threads / discuss / 63753

Git bash 2.50.0(2) not working on windows 11 PRO 64bit

Subject: Git bash 2.50.0(2) not working on windows 11 PRO 64bit

## tl;dr

6 messages between Jul 7, 2025 and Jul 18, 2025.

replies: 5people: 3as markdown or json

Fabio Frumento· Jul 7, 2025, 12:18 UTC · lore
Hi,
After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt window shortly appears and close immediately, downgrading to 2.49 solve the issue
So 2.50 don’t work on windows 11 Pro 
Kind regards
Fabio Frumento
brian m. carlson· Jul 8, 2025, 11:15 UTC · re: Fabio Frumento · lore

Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit

On 2025-07-07 at 12:18:08, Fabio Frumento wrote:
> Hi,
Hi,
> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt window shortly appears and close immediately, downgrading to 2.49 solve the issue
> 
> So 2.50 don’t work on windows 11 Pro

The Git project doesn't ship any binaries, only source code, and we don't ship bash at all. The Git for Windows project, however, does ship Git bash, and you can report this problem to them at https://github.com/git-for-windows/git/issues.

I would suggest reading the contributor documentation and seeing if you can pin down more about why it's not working, since the report as it stands seems unlikely to be resolved. I feel confident that Git for Windows 2.50 actually works fine for many people on Windows 11 Pro, so the more information you can provide about what might be going on, the more likely it is that your bug will be addressed.

Best of luck with your problem.
-- 
brian m. carlson (they/them)
Toronto, Ontario, CA
Johannes Schindelin· Jul 17, 2025, 17:26 UTC · re: Fabio Frumento · lore

Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit

Hi Fabio,
On Mon, 7 Jul 2025, Fabio Frumento wrote:
Show 5 quoted lines
> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt
> window shortly appears and close immediately, downgrading to 2.49 solve
> the issue
> 
> So 2.50 don’t work on windows 11 Pro 
Maybe v2.50.1 does?

If not, please run `& "C:\Program Files\Git\bin\bash.exe" -li` and see whether that reproduces the error (in which case the terminal window won't close immediately, giving you ample time to copy/paste the error message).

Ciao, Johannes

Johannes Schindelin· Jul 17, 2025, 17:27 UTC · re: Johannes Schindelin · lore

Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit

Hi Fabio,
On Thu, 17 Jul 2025, Johannes Schindelin wrote:
Show 11 quoted lines
> On Mon, 7 Jul 2025, Fabio Frumento wrote:
> 
> > After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt
> > window shortly appears and close immediately, downgrading to 2.49 solve
> > the issue
> > 
> > So 2.50 don’t work on windows 11 Pro 
> 
> Maybe v2.50.1 does?
> 
> If not, please run `& "C:\Program Files\Git\bin\bash.exe" -li` and see
I meant to add "in a PowerShell session" here, but forgot...

Sorry about that, Johannes

Show 5 quoted lines
> whether that reproduces the error (in which case the terminal window won't
> close immediately, giving you ample time to copy/paste the error message).
> 
> Ciao,
> Johannes
Fabio Frumento· Jul 17, 2025, 22:44 UTC · lore

Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit

Hi Johannes,
Ok seems the issue is with bash.exe, if run with —norc option it start and I can use bash, sadly git-bash start it with —login -I -v so no way to have git-bahs running
I’ve recorded the screen and captured the cmd window during startup (it immediately close, just a frame) hope this could be of any help
CIao
Fabio
Show 48 quoted lines
> Il giorno 18 lug 2025, alle ore 00:24, Fabio Frumento <frumento.fabio@gmail.com> ha scritto:
> 
> Hi Johannes,
> 
> Thanks for the suggestion
> 
> Yes already tested, same problem
> 
> When launched by double-click or invoked in a CMD or powershell the usual black windows quickly popup and then close
> 
> In cmd no error message is written, it simply open and immediately close
> 
> Other tools like git-gui and git itself seems to work, it’s just git-bash not working
> 
> Kind regards
> 
> Fabio
> 
>> Il giorno 17 lug 2025, alle ore 19:27, Johannes Schindelin <Johannes.Schindelin@gmx.de> ha scritto:
>> 
>> Hi Fabio,
>> 
>> On Thu, 17 Jul 2025, Johannes Schindelin wrote:
>> 
>>> On Mon, 7 Jul 2025, Fabio Frumento wrote:
>>> 
>>>> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt
>>>> window shortly appears and close immediately, downgrading to 2.49 solve
>>>> the issue
>>>> 
>>>> So 2.50 don’t work on windows 11 Pro 
>>> 
>>> Maybe v2.50.1 does?
>>> 
>>> If not, please run `& "C:\Program Files\Git\bin\bash.exe" -li` and see
>> 
>> I meant to add "in a PowerShell session" here, but forgot...
>> 
>> Sorry about that,
>> Johannes
>> 
>>> whether that reproduces the error (in which case the terminal window won't
>>> close immediately, giving you ample time to copy/paste the error message).
>>> 
>>> Ciao,
>>> Johannes
> 
> 
Fabio Frumento· Jul 18, 2025, 00:09 UTC · re: Fabio Frumento · lore

Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit

I’m trying to nail down the issue and bash quit without any message while loading the bash.bashrc file in /etc
The offending line is 57 
"$(declare -p PS1 2>/dev/null)”
If I comment the related line and leave just 
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[35m\]$MSYSTEM\[\e[0m\] \[\e[33m\]\w\[\e[0m\]\n'"${_ps1_symbol}"’ '
Bash continues but then crash loading /etc/profile.d/git-prompt.sh
Then the offending line is 22
GIT_EXEC_PATH="$(git --exec-path 2>/dev/null)”
So I tried to run a simple:
VARIABLE=$(ls -al)
And guess what? bash crashed without any message
So it seems like any $(command) occurrence is crashing bash 
Hope this could help to solve the issue, but the main question is: Am I the only one with this issue? Could it depend on some local configuration?
Show 62 quoted lines
> Il giorno 18 lug 2025, alle ore 00:44, Fabio Frumento <frumento.fabio@gmail.com> ha scritto:
> 
> Hi Johannes,
> 
> Ok seems the issue is with bash.exe, if run with —norc option it start and I can use bash, sadly git-bash start it with —login -I -v so no way to have git-bahs running
> 
> I’ve recorded the screen and captured the cmd window during startup (it immediately close, just a frame) hope this could be of any help
> 
> CIao
> 
> Fabio
> 
> <Screenshot 2025-07-18 alle 00.41.04.png>
>> Il giorno 18 lug 2025, alle ore 00:24, Fabio Frumento <frumento.fabio@gmail.com> ha scritto:
>> 
>> Hi Johannes,
>> 
>> Thanks for the suggestion
>> 
>> Yes already tested, same problem
>> 
>> When launched by double-click or invoked in a CMD or powershell the usual black windows quickly popup and then close
>> 
>> In cmd no error message is written, it simply open and immediately close
>> 
>> Other tools like git-gui and git itself seems to work, it’s just git-bash not working
>> 
>> Kind regards
>> 
>> Fabio
>> 
>>> Il giorno 17 lug 2025, alle ore 19:27, Johannes Schindelin <Johannes.Schindelin@gmx.de> ha scritto:
>>> 
>>> Hi Fabio,
>>> 
>>> On Thu, 17 Jul 2025, Johannes Schindelin wrote:
>>> 
>>>> On Mon, 7 Jul 2025, Fabio Frumento wrote:
>>>> 
>>>>> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt
>>>>> window shortly appears and close immediately, downgrading to 2.49 solve
>>>>> the issue
>>>>> 
>>>>> So 2.50 don’t work on windows 11 Pro
>>>> 
>>>> Maybe v2.50.1 does?
>>>> 
>>>> If not, please run `& "C:\Program Files\Git\bin\bash.exe" -li` and see
>>> 
>>> I meant to add "in a PowerShell session" here, but forgot...
>>> 
>>> Sorry about that,
>>> Johannes
>>> 
>>>> whether that reproduces the error (in which case the terminal window won't
>>>> close immediately, giving you ample time to copy/paste the error message).
>>>> 
>>>> Ciao,
>>>> Johannes
>> 
>> 
> 

← back to recent threads