Yes, with all the EU countries, with a number of other European countries and with the USA and Japan.
Broadly speaking, employees assigned to work in Germany for a temporary period will be exempted from social security contributions, provided a previously existing employment relationship in the individual's home country remains in force. In most cases, the period of exemption lasts initially for two years but may be renewed for a further two. An employee who remains a member of the social security scheme of another EU country is automatically covered for medical treatment whilst in Germany as though he were a member of the Germany scheme; members of the schemes of other countries may not be, depending upon the terms of the relevant treaty and (sometimes) their exact class of membership.