# File lib/git/lib.rb, line 214 def branch_current branches_all.select { |b| b[1] }.first[0] rescue nil end