def exists_remotely?(name, remote)
      branches = execute_command('branch -r --no-color').gsub(/^[* ] /, '').lines.map(&:chomp).to_a
      branches.include? "#{remote}/#{name}"
    end
def exists_remotely?(name, remote)
      branches = execute_command('branch -r --no-color').gsub(/^[* ] /, '').lines.map(&:chomp).to_a
      branches.include? "#{remote}/#{name}"
    end
-------------------------------------------------------------------------
 -------------------------------------------------------------------------