VERSION CONTROL WITH GITHUB
Version control is a system that helps to monitor changes to collections of information such as files/documents, computer programs etc. It monitors changes/modifications made to a file so that in the future specific versions can be recalled.
What is git?
Git is a free open source distributed version control system that helps to track changes made in any set of files and makes collaboration between programmer more easier and more effective.
Here are some of the most common terminologies or key words when using git for version control
- Git init: it is used to initialize git
- Git add [file name]: adds files to the staging area. ‘git add .’ command is used to upload all files to git at once
- Git commit: used to commit git to local repository
- Git push: used to move files to remote repository
- Git status: used to check what files are present in the staging area and what files need to be committed
- Git log: list all the files committed to a repository