Step 1: Collagen is a triple helix made of three polypeptide alpha-chains wound tightly together. To pack into this structure, every third residue of each chain must be glycine.
Step 2: Glycine has the smallest side chain (just a hydrogen atom), so it is the only residue small enough to fit in the crowded central core of the triple helix where the three chains come closest.
Step 3: The repeating sequence is written as (Gly-X-Y)n, where X is often proline and Y is often hydroxyproline. Glycine therefore makes up about 33 percent of the residues, and it is glycine that allows the characteristic folding. Alanine, arginine, and histidine have bulkier side chains and cannot serve this role.