Have you ever wrote code or wrote some documents and kept it on your system, and every time you make changes you keep the previous code/document file separately for future reference in case you want to go back and revert those changes. This makes a mess in your system as it will grow in number of files and will end up hard to track and maintain. Also another problem arises when you are in a different system or your current system crashes or your files get deleted mistakenly. You won’t be able to work on it and all your progress might go away. So what is the solution? Version control systems comes to rescue. It is a system that records changes to a file or set of files over time so that you can recall specific versions later.
Today we’re are going to look at Git, a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. And also GitHub, a hosting platform for software development and version control using Git.
So to make it clear, Git performs operations to keep track of changes and history and save the files and a lot more in regards to version control and then GitHub is the server where your files are going to be saved so that you can access files easily online and it also has a lot of features. Lets now dive into the basics of how to use it, which is our goal to learn today.