def get_current_branch
      branches = execute_command('branch --no-color')
      branch_match = branches.each_line.select { |b| b.start_with? '* ' }
      branch_match[0].strip.gsub(/\* /, '')
    end
def get_current_branch
      branches = execute_command('branch --no-color')
      branch_match = branches.each_line.select { |b| b.start_with? '* ' }
      branch_match[0].strip.gsub(/\* /, '')
    end
-------------------------------------------------------------------------
 -------------------------------------------------------------------------
 -------------------------------------------------------------------------
 -------------------------------------------------------------------------