Need of version control system
To understand this Suppose you are a software developer. One day you find a client. The client told you to build an application so what you did was, you created a folder in your system and inside that folder, you created many files. .py .php .java etc after coding you went for a demo to the client and he said all are good but I need some changes So you made some change to the code and after some time you went for a demo again but again the client suggested some change and one fine day he requested that I want that Code that you had written in first day.
Now any Sane developer would get frustrated because he can't remember all the changes he made in those files in the same directory. He had not backed up or stored changes made in a folder so to solve this issue here comes the need for a version control system.
So what we understood from the above story.
✔Every version has to be maintained because maintaining multiple versions manually is a very complex task for a developer.
✔Every change should be tracked because multiple developers are working in an organisation.
🤷♂️ who did the change.?
🤷♂️ when he did the change.?
🤷♂️ which change he did.?
✔We should not overwrite our code.
The above needs are fulfilled by a version control system.