Do you wish to work in Switzerland as a cross-border commuter? Then you require a cross-border commuter permit (G permit).
The Agreement on the Free Movement of Persons between Switzerland and the EU simplifies living and working conditions for EU citizens. In addition, there is now mutual recognition of professional qualifications, the right to acquire property, and the coordination of social security systems. The same rules apply to nationals of the EFTA countries.
Note: The free movement of people is no longer extended to Croatia. Switzerland grants Croatian nationals separate quotas for working people outside the quotas for third-country nationals.
You must keep the cross-border commuter permit with you at all times during your employment in Switzerland. The permit is not considered to be an identity document in Germany. For border controls at the German border, you require an identity card or a passport.