fetch proper branch