Immediate Fix
If Git Bash freezes or fails to respond immediately upon opening, the most effective fix is to reset the terminal’s environment and configuration files. Often, a corrupted .bash_history or an outdated PATH variable causes the terminal to hang during initialization.
First, try launching Git Bash as an Administrator. Right-click the shortcut and select Run as administrator. If this works, the issue is likely related to folder permissions.
If that fails, clear your shell history, which can become bloated and slow down the startup process. Open your Windows Command Prompt (CMD) and run the following command to delete the history file:
del %USERPROFILE%\.bash_history
This forces Git Bash to create a fresh, empty history file on the next launch, resolving most startup latency issues.
Technical Explanation
Git Bash for Windows uses a port of the MSYS2 environment to provide a Unix-like shell. When you click the icon, several processes occur: the sh.exe shell starts, the .bashrc and .profile scripts are executed, and environment variables are loaded.
The “Not Responding” state usually indicates a “deadlock” or a timeout in one of these phases. Common technical triggers include:
- DLL Conflicts: Other software (like antivirus or outdated drivers) may inject DLLs into the Git Bash process that are incompatible with the MSYS2 runtime.
- Network Drives: If your PATH includes a network drive that is currently offline, the shell will hang while waiting for a response.
- Large Repositories: Scripts that fetch the current Git branch status in your prompt (PS1) can cause delays if the repository index is massive.

Alternative Methods
If the immediate fix did not resolve the issue, try these additional troubleshooting steps to restore functionality to your development environment.
1. Update or Reinstall Git for Windows
An outdated version may have bugs related to Windows updates. Download the latest installer and perform a “Clean Installation.”
2. Disable the Git Prompt Status
Sometimes the script that displays your branch name in the terminal is the culprit. You can test this by renaming your configuration file temporarily via CMD:
ren %USERPROFILE%\.bashrc .bashrc_backup
3. Comparison of Common Fixes
The table below summarizes alternative approaches based on the specific symptom observed:
| Symptom | Proposed Solution | Success Rate |
|---|---|---|
| Black Screen on Startup | Disable “ConEmu” or check graphics drivers. | High |
| Slow Response / Lag | Clear .bash_history file. | Medium |
| Permission Denied | Run as Administrator. | High |
| Process Hangs | Remove network paths from Windows Environment Variables. | Medium |
4. Check Environment Variables
Ensure that your PATH variable does not contain redundant or broken links. Search for “Edit the system environment variables” in your Windows Start menu and verify the entries under “Path.” Remove any entries that point to non-existent directories.