public static function fromBranch(Branch $branch)
 {
     $command = new self();
     $command->id = $branch->getId();
     $command->name = $branch->getName();
     $command->description = $branch->getDescription();
     $command->defaultAssignee = $branch->getDefaultAssignee();
     $command->tags = $branch->getTags();
     $command->logoFile = null;
     $command->logo = $branch->getLogo();
     return $command;
 }