fetching branches reference