An advanced generalization of this idea, adapted to the needs of algebraic geometry, is the étale fundamental group.
What group is an advanced observation of infinite field extensions and groups that is adapted for the needs of algebraic geometry?
the étale fundamental group