$ git basic Commands With Examples

 $ git Commands With Examples

    First of all, install git from the git official website and then install it. Open Git Bash.

  • git config
        This command set the author name and email address.
- $git config --global user.name "[name]"
- $git config --global user.email "[email address]"

Set Username:-
$ git config --global user.name "Shreyash Kolhe"
Set Email:-
$ git config --global user.email "shreyashkolhe2001@gmail.com"
git config -- list? 
         The git config list command will display values in gitconfig files. it shows your git details like your name, email.....etc.
$ git config --list

How to find your set username and email in git?

- $git config user.name
- $git config user.email