No, there are no real differences between the 2 lines. White has no way to defend the pawn, so black can choose the move order they feel most comfortable with.
You see something similar in the french defence:
1. e4 e6 2. d4 d5 3. e5 c5 4. dxc5 Nc6
Black could have regained a pawn straightaway with 4...Bc5, but decided to develop a knight first, seeing as white has no way to defend that pawn.
I found this explanation of 5...g6 on wikipedia
The main line continues with the moves 4. cxb5 a6 5. bxa6 Bxa6 followed by Black fianchettoing the f8-bishop. (Black players leery of the double-fianchetto system, where White plays g3 and b3, and fianchettos both bishops, have preferred 5...g6 intending 6.b3 Bg7 7.Bb2 Nxa6! The point is that it is awkward for White to meet the threat of ...Nb4, hitting d5 and a2, when Nc3 may often be met by ...Nfxd5 because of the latent pin down the long diagonal.)
The double fianchetto has fallen out of favour seeing as the king's walk variation gives a good game for white.