Im finding difficulty in maintaining my code. I usually use C, PHP, Unix Script and Matlab Script for my development. I tried versioning my code as filename_v1, filename_v2 etc But its very confusing and i face difficulty in the understanding which code i used some 3 days back and also facing problem to find out which version of code produced the output which im analyzing.
Is there any desktop software to maintain my code datewise so that i wont create multiple version of my code? If not, can anyone guide me how people overcome this problem?