rpi-update updates the firmware for the Raspberry Pi. It does not change any packages.
apt-get update updates the package listings for the Debian operating system, but does not upgrade the packages themselves.
apt-get upgrade upgrades any packages that have new versions. You usually run this after you run
Note: for these commands to do anything, you have to prefix them with
sudo to get administrative privileges, else they won't work.