DEV Community

liasu Tolulope
liasu Tolulope

Posted on

version control with git

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.

Git terminologies
Here are some of the most common terminologies or key words when using git for version control

  1. Git init: it is used to initialize git
  2. Git add [file name]: adds files to the staging area. β€˜git add .’ command is used to upload all files to git at once
  3. Git commit: used to commit git to local repository
  4. Git push: used to move files to remote repository
  5. Git status: used to check what files are present in the staging area and what files need to be committed
  6. Git log: list all the files committed to a repository

Top comments (2)

Collapse
 
monginadiana profile image
monginadiana

Good one

Collapse
 
victoriaigbobi65 profile image
Victoria igbobi

Wow! Thanks for the enlightening me about the git commands