Just as F in f(x) is the correspondence law and X is the independent variable, G in g(x) is the correspondence law and X is the independent variable.
There is no difference between F and G. Sometimes when a topic needs to describe multiple functions, it is often represented by g(x), r(x), φ (x), ψ (x), and so on.