class Git::Lib

def branches_all

def branches_all
  arr = []
  command_lines('branch', '-a').each do |b| 
    current = (b[0, 2] == '* ')
    arr << [b.gsub('* ', '').strip, current]
  end
  arr
end