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

Manage Git branches

Last modified: 11 February 2024

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 PyCharm, all operations with branches are performed in the Git Branches popup. To invoke it, in the main window header, click the Git widget with 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.