Git Bash is a command-line application included with Git for Windows that provides access to Git commands together with a Bash-style shell environment.
It allows Windows users to work with Git and many Unix-like command-line tools in a familiar terminal interface.
Also known as: Git for Windows Bash shell, Bash terminal for Git.
Git Bash combines several components into one command-line environment.
It typically provides:
This allows users to run commands that resemble those used on Linux or macOS while working on a Windows computer.
Bash stands for Bourne Again Shell.
It is a command-line shell commonly used on Unix-like operating systems.
Bash allows users to:
Git Bash brings a Bash-like environment to Windows so users can use many of these commands without installing a full Linux system.
Windows Command Prompt and Git Bash are both command-line interfaces, but they use different command styles.
For example, listing files may look like:
Command Prompt:
dir
Git Bash:
ls
Changing directories is supported in both environments, but Git Bash follows Unix-style conventions more closely.
In simple terms: