initialize method
Implementation
@override
List<UndoableCommand> initialize() {
Repository repository = Repository(Directory.current.path);
Branch branch = Branch(branchName, repository);
debugPrintToConsole(message: "extends ${repository.path}");
return [CreateNewBranchCommand(repository, branch)];
}