check whether branch url is existed