Installation of git is very simple as it just requires just downloading setup
and installing through process and then configuration should be done before
using git fully which requires simple codes in git bash.
Git Installation
Download Git from : Official Git Download Site
Download git from the provided link above and choose your OS, for tutorial I
have used windows so click on one and download setup 64x or 32x. Then open the
setup. Keep all default and modify only few options like:
1. Select these options for best experience
2. Then choose VS code or any editor you are comfortable to work with.
3. After these keep every thing default.
Git Configuration
This step should be done after installation is complete. Just open git bash
after installation or open it by Right Click > Show more Option (if on
windows 11) > Open Git Bash Here
After that a terminal opens and type two commands
1. To set the user name
git config --global user.name "Your Name"
2. to set the user email
git config --global user.email "youremail@mail.com"
these will display at time of commit, to know who made changes.
And that is all for setup from now on it is actual git commands and theory to learn git and github fully.



0 Comments