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.
Install Git
Go to git official download git for your OS
First-time Setup
You only have to do this setup once on your computer.
Here are few steps to follow:
User Setup
Use --global
argument for all .gitconfig
on your computer.
Find more information on git-config
Or you can download Git GUI Client
1 | # User Setup |
Check Git Config
Check your info in git-config
.
1 | # Check git config |
user.name
and user.email
will follow you forever until you change them.
Git Repositort
Create Your Git Repository
Create a folder and set it as a git repository(kind of work space)
1 | $ mkdir ~/git_repo |
Download git repository form github
1 | $ git clone https://github.com/<dir to the repo> |
the url can be copied by
DONE
Congratulations!! Your git setup is complete!
Let’s go to the other git tutorial:
Next - Git Basics