He was "visiting" with General Custer.
Actually that would take place two days later.
He visited Custer on July 3rd. George gave him a warm reception before seeing him off.