Germany jailed a jihadist militant for three years and nine months Friday in the country's first trial of a recruit of the Islamic State group fighting in Syria and Iraq.