To view the history of commits in the current branch, do the following:
Click Git on the main toolbar.
In the Git panel, select the Version History tab.
Tip
The panel shows the last 20 commits in the current branch. To see older commits, select View All Commits.