public function publishTag($tagName, $remote = null) { $remote = $remote == null ? 'origin' : $remote; $this->executeGitCommand("push {$remote} {$tagName}"); }