src/Gitonomy/Git/ReferenceBag.php
public function getLocalBranches()
    {
        $result = array();
        foreach ($this->getBranches() as $branch) {
            if ($branch->isLocal()) {
                $result[] = $branch;
            }
        }

        return $result;
    }
public function getLocalBranches()
    {
        $result = array();
        foreach ($this->getBranches() as $branch) {
            if ($branch->isLocal()) {
                $result[] = $branch;
            }
        }

        return $result;
    }
Returns all locales branches.

@return array