show current GIT branch name in windows command prompt

You cannot do this from the Windows-based “Command Prompt.” There is an environment, however, that can run on top of your Windows environment, that does.

After you run the Git windows installer and allow git to install, you can invoke git-bash from context menu.

Call Git Bash in the system menu

By default, the git-bash environment shows what branch you are in.

Screenshot of the git-bash running environment

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)