Git basic setup
Git
is well-known for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development.
Using Git for command line, since GUI tools have limitations and those are always not available.
Git download link: Download Link
After installing, version check: git –version (tested on Windows 10)
Hierarchy:
SYSTEM: All users
GLOBAL: All repositories of the current user
LOCAL: The current repository
Now let’s set up config file.
On CMD:
Set username:
1
git config --global user.name "YOUR NAME"
Set email:
1
git config -- global email example@gmail.com
Check actual change with code editor:
1
git config --global e
When user runs ‘git confing –global e’ (In my case, my default code editor is VS Code)