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