Normally a company should configuration management with a tool like CVS. Co-workers share code with CVS. In your code, you should put your name at the header as comments according to the coding convention used in the company.