getting branches on same page