From 24b8d29b8a80af5994711ecd6e8551ae59e76e49 Mon Sep 17 00:00:00 2001 From: Sagor Sarker Date: Mon, 20 Jan 2020 15:37:19 +0600 Subject: [PATCH] added answer under 'Git/what is .git directory?' --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cc0d44e..a664203 100644 --- a/README.md +++ b/README.md @@ -4394,6 +4394,10 @@ git checkout HEAD~1 -- /path/of/the/file
What is the .git directory? What can you find there?
+ 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](https://stackoverflow.com/questions/29217859/what-is-the-git-folder)