It’s sometimes said in education that there’s knowing something, then there’s really knowing something. Meaning that the more comprehensively you study and practice something, the more you learn from it, the better you know it, and the more is added to your overall knowledge or repertoire.
With songs specifically, and beginner guitar songs in particular, it can be helpful to deconstruct this sense of learning a song into its component parts.
As such, here’s an article on the 5 stages of learning to play a song. Each stage takes the previous stage(s) and builds on them. Each stage adds something new to a guitarist’s development, and each brings its own value to you as an individual developing musician. Here they are: