How to edit the title of Git Bash Terminal in Windows 10
1 min readApr 17, 2019
Recently I used Git Bash Terminal (https://gitforwindows.org/) a lot, replacing the putty.exe. I found it’s a pretty decent terminal.
However, I didn’t find the option to edit the title of terminal.
Why do I need to edit the title?
Because, I usually open multiple terminals, and it’s easy to recognize them in the taskbar and when you press “Alt + Win key”.
The default title name is MINGW64.
To edit the name, you have to …umm….run a command which I thought it is the most straightforward way.
- Open a MINGW64 terminal (the Git Bash terminal)
- Type this command to change a system environment variable TITLEPREFIX:
$ TITLEPREFIX=<whatever name your like>
For instance, $ TITLEPREFIX=test_name