How do I go up from child to parent?

I am assuming I switch between hierarchy levels to accomplish tasks on each gameObject.
I don’t want to change the child’s parent to another parent. I want ‘navigate up’ to the child’s parent as in I want to change ‘to’ the child’s parent.

I have this code:

        // We can use a 'current' transform to help transverse
        Transform current = transform; // current transform is Ring Gen
        Debug.Log(current.name);
        current = current.GetChild(0); // current transform is now RingPair (0)
        Debug.Log(current.name);
        current = current.GetChild(0); // current transform is now TSPair (0) Pos
        Debug.Log(current.name);
        current = current.GetChild(0); // current transform is now TSPivot (0)
        Debug.Log(current.name);

        //this current gets null when clearly there are 
        current = transform.parent; // Navigates up one to TSPair(n) level
        Debug.Log(current.name);

The transform.parent is not going up to that childs parent. Null is returned in last debug line.
132727-2019-02-07-23-02-32-window.png

Shouldn’t it be

current = current.parent; 

What you’re doing now is getting the parent of Ring Gen