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

6 messages from 2025-07-07 to 2025-07-18. Participants: Fabio Frumento, brian m. carlson, Johannes Schindelin.
Thread: https://gitlist.dev/t/63753

## Fabio Frumento, 2025-07-07 12:18

Subject: Git bash 2.50.0(2) not working on windows 11 PRO 64bit
Message-ID: <C4F62B0F-1729-437B-B9C0-0FEA74B307E0@gmail.com>
URL: https://gitlist.dev/e/C4F62B0F-1729-437B-B9C0-0FEA74B307E0%40gmail.com

```
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, 2025-07-08 11:15

Subject: Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit
Message-ID: <aGz95cpfS0s4zsMc@fruit.crustytoothpaste.net>
URL: https://gitlist.dev/e/aGz95cpfS0s4zsMc%40fruit.crustytoothpaste.net
In-Reply-To: <C4F62B0F-1729-437B-B9C0-0FEA74B307E0@gmail.com>

```
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, 2025-07-17 17:26

Subject: Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit
Message-ID: <572ec2d0-b587-9cf1-7643-1a0f3e59c268@gmx.de>
URL: https://gitlist.dev/e/572ec2d0-b587-9cf1-7643-1a0f3e59c268%40gmx.de
In-Reply-To: <C4F62B0F-1729-437B-B9C0-0FEA74B307E0@gmail.com>

```
Hi Fabio,

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
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, 2025-07-17 17:27

Subject: Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit
Message-ID: <af2ab4ad-51d0-7b88-a0aa-6063e3857d4b@gmx.de>
URL: https://gitlist.dev/e/af2ab4ad-51d0-7b88-a0aa-6063e3857d4b%40gmx.de
In-Reply-To: <572ec2d0-b587-9cf1-7643-1a0f3e59c268@gmx.de>

```
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, 2025-07-17 22:44

Subject: Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit
Message-ID: <CA6C88DE-F21A-4146-BC69-E68276FAF592@gmail.com>
URL: https://gitlist.dev/e/CA6C88DE-F21A-4146-BC69-E68276FAF592%40gmail.com
In-Reply-To: <60796326-CA62-4AC6-82F9-4F1943428645@gmail.com>

```
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




> 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, 2025-07-18 00:09

Subject: Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit
Message-ID: <924B7F4A-F03C-4AE4-8162-953B1FDE6B8C@gmail.com>
URL: https://gitlist.dev/e/924B7F4A-F03C-4AE4-8162-953B1FDE6B8C%40gmail.com
In-Reply-To: <CA6C88DE-F21A-4146-BC69-E68276FAF592@gmail.com>

```
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?





> 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
>> 
>> 
> 


```
