class Git::Base

def is_remote_branch?(branch)

returns +true+ if the branch exists remotely
def is_remote_branch?(branch)
  branch_names = self.branches.local.map {|b| b.name}
  branch_names.include?(branch)
end