'Set the list of remote branches'

def set_remote_branches(self, branches):

    self.remote_branches.clear()
    self.remote_branches.addItems(branches)
    self.filtered_remote_branches = branches
    qtutils.add_completer(self.remote_branch, strip_remotes(branches))
