show current GIT branch name in windows command prompt

Is is possible to display current git branch name in regular windows command prompt?
Let’s say on windows 7 or 10.

  • committing to the same branch with git
  • Why would svn merge of a branch with no changes causes untouched files to modify svn:mergeinfo property
  • git command to emit name of remote tracking branch
  • How to choose the right branch/fork to use by looking on the github's network graph?
  • Why does Git not store the branch name as part of the commit?
  • Should a “Release Candidate” be immutable?
  • Git error when trying to push — pre-receive hook declined
  • git reset --hard, how will it affect my commits and branches?
  • Git post-receive hook for `Everything up-to-date`
  • How do you recreate the GitHub pull request diff on the commandline?
  • Jenkins Git Publisher: How to commit code back to master after build?
  • Is there a character for “current branch” in git?
  • One Solution collect form web for “show current GIT branch name in windows command prompt”

    You need bash, allow git to install it, then you can invoke it from context menu

    enter image description here

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