Add branch_head endpoint to Repos