IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Manage Git branches

Last modified: 10 August 2022

In Git, branching is a powerful mechanism that allows you to diverge from the main development line, for example, when you need to work on a feature, or freeze a certain state of a code base for a release, and so on.

In IntelliJ IDEA, all operations with branches are performed in the Git Branches popup: To invoke it, click the Git widget in the Status bar (it shows the name of the branch that is currently checked out):

Git widget

You can also manage branches and perform batch operations with multiple branches in the Branches pane of the Git tool window.

Branches pane