select branches from database (codebases selection page)