Git

What is the .git directory? What can you find there?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

The .git folder contains all the information that is necessary for your project in version control and all the information about commits, remote repository address, etc. All of them are present in this folder. It also contains a log that stores your commit history so that you can roll back to history.

This info copied from https://stackoverflow.com/questions/29217859/what-is-the-git-folder