There are plenty of things you can do with Git plugin for IntelliJ IDEA, but I haven't found a way to rename a branch. Is there one?
I know I can always bring up a terminal and do git branch -m source target, but I expected to find a GUI solution as well.
解决方案
There are a couple of pending issues with this feature:
IDEA-89927: Renaming branches is not captured by IDEA
IDEA-131021: Add "Rename branch" action
The latter is not yet implemented.
The former does show the only way (mentioned by the OP) currently available:
Go to the command line and execute git branch -m
But even that has refresh issue on IDEA.
Update January 2017: IDEA-131021 might have been implemented, as illustrated by Pavlo Zvarych's answer. It is consistent with the proposal:
introduce menu item in Git | Branches popup for current branch and place the actions related to the current branch in its second-level submenu.