try to get branch from repo