* Refactor branch list using src-d/go-git and add GetRefs function * Fix copyright * Fix to reuse ObjectType * Add function to filter refs by prefix * Fix import order * Optimize if structure