Github, release updates install update

hello,
So i downloaded the github version to my system how would i use updates as new releases are made, or updates become available? So lets say i’m on linux did a git pull of 4.25.0 then 4.25.3 is released how do i update that? I noticed after all the setup.sh and build, compile commands the final size is from 10 then to 100 gigs?
Do i just pull the release again then rerun the setup.sh and build/compile commands? On windows i click the update and it updates from say 4.25.0 to 4.25.3 auto-magically.
I found this for managing github repos and different versions but still confusing.