Hmmm. What do you mean by "closed expression"?
Smile, make one of your own. Say your procuct is called U[t] and according to Gianlucas proposal you can write
U[t_?NumericQ] := Dot @@ Table[g[j], {j, 1, t - 1}]
You can use it everywhere:
In[7]:= U[t]
Out[7]= U[t]
Whenever you need it mor explicit give it a t ( element of Integers)
In[6]:= U[4]
Out[6]= g[1].g[2].g[3]