getting tree sha