The foreign company branch asked me to sign a contract with the foreign affairs department. Is there a problem?

It doesn't matter. All signed labor contracts are governed by the laws of China.

A labor contract refers to an agreement between a laborer and an employer to establish a labor relationship and clarify the rights and obligations of both parties. The conclusion and modification of labor contracts shall follow the principles of equality, voluntariness and unanimity through consultation, and shall not violate the provisions of laws and administrative regulations. After a labor contract is concluded in accordance with the law, it is legally binding, and the parties must fulfill their obligations under the labor contract.

According to the first paragraph of Article 16 of the Labor Law of People's Republic of China (PRC) (hereinafter referred to as the Labor Law), a labor contract is an agreement between a laborer and an employer to establish a labor relationship and clarify the rights and obligations of both parties. According to the agreement, workers join enterprises, individual economic organizations, institutions, state organs, social organizations and other employers, become a member of the unit, undertake certain types of jobs, posts or positions, and abide by the internal labor rules and other rules and regulations of the unit; The employing unit shall timely arrange the hired laborers to work, pay labor remuneration according to the quantity and quality of labor provided by the laborers, and provide necessary working conditions according to the provisions of labor laws and regulations and labor contracts, so as to ensure the laborers to enjoy labor protection, social insurance, welfare and other rights and interests.