IntelliJ and Git Branch Name
Install IntelliJ Plugin "GitToolBox"
As of IntelliJ 11 the current Git branch is displayed in the bottom right corner of the status bar. Moreover, clicking on the branch name displays a nice popup with all available branches, and you can invoke some actions on them.
To enable status bar
follow the below steps :
View --> Appearance --> Status Bar [and click to enable/disable]