China has agreed to extend a loan to Botswana for rail and road infrastructure as well as writing off some debt, Botswana’s President Mokgweetsi Masisi said on Saturday.