Giroud had been making noises about leaving the club in January due to a lack of playing time.
Asked about Giroud, Deschamps told a media conference: "We often talk about Olivier. He is often decried. I say it over and over again, many things are unfair to him.
"He has this strength of character. He has done everything to maintain himself athletically. When he is called upon, he scores. When he doesn't score, he is always useful.
"I always thought it was better to have him with you than against you. I'm glad he's going through a happier time, hoping it can last."