Basics of working with Git - Gazovnuk/MyREPO GitHub Wiki

Welcome to the MyREPO wiki!


1. Download distributive

https://git-scm.com

2. Check version

$ git --version

(Example: git version 2.22.0.windows.1)

3. Configure global config

$ git config --global user.name "Name of user"

$ git config --global user.email "[email protected]"

4. Make directory for project

$ mkdir git-sample

5. Go to the folder

$ cd git-sample

6. Configure local config

$ git config user.name "Name of user"

$ git config user.email "[email protected]"