One worthwhile thing every beginner guitarist should learn is that there are two different useful fingerings for an open G chord, as shown in FIGURE 1.
Either can be more advantageous, depending on what chord you play immediately before or after G. The guiding principle is to use the fingers that are closest to where they need to be for the next chord, or the previous one. In other words, it’s all about where you’re coming from and where you’re going.