lib/gitit/git_branches.rb
def exists_locally?(name)
      branches = execute_command('branch --no-color').gsub(/^[* ] /, '').lines.map(&:chomp).to_a
      branches.include? name
    end
def exists_locally?(name)
      branches = execute_command('branch --no-color').gsub(/^[* ] /, '').lines.map(&:chomp).to_a
      branches.include? name
    end
-------------------------------------------------------------------------
 -------------------------------------------------------------------------