How can I manage C programs?
The correct way to manage any kind of source code is to use a Version Control Sytem like Git. It will always give you access to the complete history of changes to all modules, and let you do experiments in branches of the code without affecting the mainline release version. Read The Joel Test: 12 Steps to Better Code Version control is the first item.