original_string: public function setBranches($name, $branch, $add = false)
      {
          $this->arguments[] = 'set-branches';
          if ($add) {
              $this->arguments[] = '--add';
          }
          $this->arguments[] = $name;
          $this->arguments[] = $branch;
          return $this;
      }
code: public function setBranches($name, $branch, $add = false)
      {
          $this->arguments[] = 'set-branches';
          if ($add) {
              $this->arguments[] = '--add';
          }
          $this->arguments[] = $name;
          $this->arguments[] = $branch;
          return $this;
      }
code_tokens: public function setBranches ( $ name , $ branch , $ add = false ) { $ this -> arguments [ ] = 'set-branches' ; if ( $ add ) { $ this -> arguments [ ] = '--add' ; } $ this -> arguments [ ] = $ name ; $ this -> arguments [ ] = $ branch ; return $ this ; }
docstring: Add the set-branches option to the command line.
  
  @param string $name   Name of the remote.
  
  @param string $branch Name of the branch.
  
  @param bool   $add    Flag if the name should be added.
  
  @return RemoteCommandBuilder
docstring_tokens: Add the set - branches option to the command line .