The difference is one of them has an apostrophe.
Seriously though, to my knowledge there's no system of notation for atomic or molecular orbitals which uses the prime symbol for anything in particular. I'm guessing in the context they're denoting a particular atom's 1s orbital with a prime and another's without.
Writing [tex]\sigma_g1s[/tex] doesn't quite make sense by itself either - sigma is an MO, 1s is an atomic orbital, and you need at least two of those to get an MO.
[tex]\sigma_g[/tex] signifies the even (gerade) symmetry, it's the same as the bonding sigma orbital.