At the core of git is the repository. The repository is essentially a bunch of files and folders that keep track of all the changes you ask it to. Without this repository git cannot function. In order to create a git repository you need to “`cd“` into the root of your project and execute the following command:

git init

This command initialises the git repository folder. This folder is a “dot folder”, meaning it is invisible unless you enable Hidden Files and Folders in Windows explorer or execute


ls -a

in your terminal.