# File lib/git-up.rb, line 150 def branches @branches ||= repo.branches.select { |b| remote_map.has_key?(b.name) }.sort_by { |b| b.name } end