Trap it and sleep with a sleeping bag, tranq it (better use primitive cuz higher tier might potentually kill it) and force him to be ur friends

More Gallimimus Taming & KO Tips