What is the folder called .git
?
It\'s created in a repository. What is contained within it and why is created?
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.
For more info, you can check the official website of git.