Reverting to or branching from a previous commit
Make sure you have no pending changes
Revert the chosen commit
History
view, click on the menu for the commit you want to revert to and select Revert to this commit
.Review the changes and commit
Workspace
view where you’ll see the changes that will be made.Choose which commit you want as the base for your new branch
Create a branch