How to initialize your brand new project to Git using command - git init ?


Purpose: Start Git tracking in a project.

What it does:

      Creates a .git folder inside your project

      Enables version control

      Does not upload anything online

When to use:

      When starting a brand-new project

      When you want to add version control to an existing project

Example:

git init


Terminal Output: