I'm no expert but google says
F = Filly - A female horse or pony under 4 years of age.
G = Gelding - A male horse or pony of any age that has been gelded (castrated).
C = Colt - A male horse or pony under 4 years of age that has not been gelded (castrated).
Sound about right?