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.

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