# Git in Action #3

To setup your Git repository, you need to navigate to that folder first (in terminal) then use init option. It can be an empty folder which will create empty git repository and if there are content in the folder, that content will be added to the git repository.

```
git init
``` 
Git init will set up the repository to be tracked by Git, in the process it will generate a folder named .git, all the local code instances are stored there and the folder has hidden attribute. Normally we don't touch anything in that folder
> **git init** can be performed on empty folder or a folder with existing files or project. If folder has content all the files in the folder will be considered as untracked files

[Next Section](https://simplekit.hashnode.dev/git-in-action-4)
