The History tab is added to the Version Control tool window on invoking the Show History command for a file or directory through the menu of a particular VCS. A new tab is created for each file or directory with the following name: History: <file_name>. The set of toolbar buttons differs slightly depending on your version control system.

All commands available from the toolbar are also available from the context menu of a selection.

ItemTooltip and ShortcutDescription
Compare
Ctrl+D
Click this button to compare the selected revision of a file with its previous revision in the Differences viewer for files.
images/icon_showDiffLocal.pngCompare with LocalClick this button to compare the selected revision of a file with its local copy in the Differences viewer for files.
images/icon_UML.pngCompare all classes from revision on UML
Ctrl+Shift+D
Click this button to view all classes of the selected revision as a UML Class diagram. See section Viewing Changes as Diagram.
images/openGitHub.pngOpen in GitHubClick this button to open the page that corresponds to the selected commit on GitHub.
images/iconCreatePatch.pngCreate PatchClick this button to create a patch from the selected revision.
images/historyViewGetIcon.pngGetClick this button to retrieve the selected revision. If the local copy has already been modified, IntelliJ IDEA prompts to overwrite the local version, or cancel the operation.
images/annotate-details.pngAnnotateClick this button to open the selected revision of a file in the editor with annotations.
images/showAffectedFiles.pngShow All Affected Files
Shift+Alt+A
Click this button to open the Paths Affected in Revision dialog where you can view all files that were modified in the selected revision.
images/copy.gifCopy Revision NumberClick this button to copy the revision number of the commit that the selected file belongs to to the clipboard.
images/hierarchyClassButton.pngShow Branches

This option is only available if you are using Perforce for version control.

Click this button to show branches.

images/icon_ChangeListShowAll.pngShow All Revisions Submitted In Selected Changelist

This option is only available if you are using Perforce for version control.

Click this button to display the list of all revisions committed in the same changelist as the selected revision of a file.

images/refresh.pngRefreshClick this button to refresh the current information.
images/showDetails.pngShow DetailsClick this button to show the commit message for the selected revision.
images/close.pngClose
Ctrl+Shift+F4
Click this button to close the current history tab.
images/help.pngHelp
F1
Click this button to show reference information.

The revision that currently exists in your working copy is highlighted in bold font.