# File lib/git-up.rb, line 158 def remote_map @remote_map ||= repo.branches.inject({}) { |map, branch| if remote = remote_for_branch(branch) map[branch.name] = remote end map } end