Git-Bash Command Prompt won't open up after upgrading to Windows 10

I just upgraded my OS to Windows 10 and Git Bash won’t even open up anymore. I might need to uninstall and re-install it again but I was just wondering if anyone else ran into this problem after upgrading to Windows 10 and what their fix was other than un-installing and re-installing ?

  • Import only history from CVS repository into already created git repository
  • Pushing multiple folders with multiple sub folders to a repository on GitHub?
  • Github multiple accounts one computer always sees one account
  • How to “pull request” a specific commit
  • Does a git repo always have to be in its own directory
  • Host 3rd party executables on GitHub
  • git freezing at push while compressing objects
  • How to switch to my newly forked repo without losing my changes
  • 3 Solutions collect form web for “Git-Bash Command Prompt won't open up after upgrading to Windows 10”

    There have been few instances where other users who have upgraded to windows 10 are facing similar issues with respect to Git Bash and git in general. An issue has been opened with msysgit on GitHub. Official clarification will be posted on that page very soon.

    A similar issue but not related to Git Bash particularly on Windows 10 platform is being resolved here.

    If your issue is not very serious, it is advisable to uninstall and install an appropriate version of Git Bash for Windows 10.

    I have to face the same problem when upgraded my windows from 7 to 10. I tried by reinstalling the git bash but re installation not works for is due to the permission issue with the shell script parser sh.exe file. all you need to do is use bash as your shell script parser instead of sh.

    you can do that as below.

    Step 1:

    Resolve the issue with the shortcut

    • right click and open properties dialog of the Git Bash short cut located in your desktop or in your start menu (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Git\Git Bash.lnk in my PC), you will see the below Target in the “Short cut” tab.

      “C:\Program Files\Git\bin\sh.exe” –login -i”

      just replace sh.exe to bash.exe as below

      “C:\Program Files\Git\bin\bash.exe” –login -i”

    Step 2 :

    • Resolve the problems with the sh commands.

      Go to the Git Bash bin folder
      (C:\Program Files\Git\bin in my PC)

      Take a backup : copy the sh.exe file into old-sh.exe and delete the sh.exe file

      open the git bash and execute below commands.

      • cd /bin
      • ln /bin/bash.exe sh

    it worked for me. don’t know the same will workout for you.

    I had issues with git bash on windows 10 as well. Git bash was not even opening on windows 10 ( the window was getting closed soon after the launch ).

    To solve the problem all I had to do was to:

    1. Right click on the git bash icon
    2. Run as administrator.

    The problem disappeared.

    Git Baby is a git and github fan, let's start git clone.