In this post we’ll learn about Git — What is git and its terminal command in 3 minutes. So let’s start with What is Git.
In 2005, Linus Torwalds created a GIT.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.
$ brew install git
$ yum -y install git
$ git --version
$ git init
or
$ git init [project-name]
It will create new local repository with specific name.
$ git clone [url]
$ git status
This command list all new or modified files
$ git add [file-name]
OR
If you want to add more than one file
$ git add .
$ git commit -m "Message"
Messages are good way to comment on changes.
#github #begineers #programming #git #learning #deep learning