Black holes and binary mergers in scalar Gauss-Bonnet gravity: Scalar field dynamics