The annual inflation in Germany, as measured by the consumer price index (CPI), hit 6.2 percent in July, according to the country's Federal Statistical Office on Friday.