After you fix a bug on the BugIssue2 branch and successfully merge
your changes into the local branch FeatureA, you want to delete the
local BugIssue2 branch.
Navigate to your repository folder and create a repository object.
repo = gitrepo;
Delete the local branch BugIssue2.
deleteBranch(repo,"BugIssue2");
Tip
Use tab completion to get the list of available local branches in your
repository.