How do you beat Gyoubu Oniwa in Sekiro: Shadows Die Twice?

Quick answer: Use the Grappling Hook to pull yourself to him when he rides away, then attack. Deflect his spear swings and use the Shinobi Firecracker to scare his horse.
Show walkthrough
Before the fight
Gyoubu waits in a big arena past the Ashina Castle Gate Fortress idol. Buy Robert’s Firecrackers from the Crow’s Bed Memorial Mob and have the Sculptor turn them into the Shinobi Firecracker. He has two health bars, so you need two deathblows.
Grapple to him
When Gyoubu gallops away, sprint after him and use the Grappling Hook when the icon appears on him. You fly straight to him and can attack at once. You can also grapple to him during his charging ground sweep.
Deflect his spear
Stay close and deflect as much as you can; deflections fill his posture bar fast. In his three-hit combo, deflect the first and last hits and block the quick middle one. His jumping attack is best deflected rather than dodged.
Jump the sweep and scare the horse
His charging ground sweep cannot be blocked, so jump over it. When he rides toward you, use the Shinobi Firecracker to scare his horse. This does heavy posture damage and gives you free hits.
Rewards
Gyoubu gives 1,000 XP, Memory: Gyoubu Oniwa and a Mechanical Barrel. See the Ashina Outskirts walkthrough for the way on.
