Git is a version control system that helps you keep track of changes in your project.
It is open source and distributed. Git can keep track of the smallest of changes, no matter how large your project is.
GitHub is a Git repository hosting service.
GitHub also facilitates with many of its features, such as access control and collaboration.
It provides a Web-based graphical interface.
Git vs. GitHub in Simple Terms is
Git is a version control system thats lets
you manage and keep track your source code history
And Github is a cloud-based hosting service that lets you manage
Git repositories.
sudo apt-get install git
Download the latest Git for Windows installer :)
Link : https://git-scm.com/
git --version
git config --global user.name "Dark Hunter"
git config --global user.email "darkhunter@example.com"
git config user.name
git config user.email
git config --list
mkdir basic git
touch day1.txt
and type :
git init
ls -a
git status
And you will show a error message and that is :
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
day1.txt
nothing added to commit but untracked files present (use "git add" to track)