class Git::Branches

Collection of all Git branches in a repository

Wraps both local and remote-tracking branches and provides filtering, enumeration, and name-based lookup.

@example Enumerate all branches

branches = repo.branches
branches.each { |b| puts b.name }

@api public