DevOps / GIT Interview Questions
What is a .git directory?
The .git directory contains all the metadata of the repository and maintains a track of all the changes made to the files in your repository, by keeping a commit history.
All the details regarding commits, hooks, refs, object databases, remote repository addresses, etc. reside in this folder. This folder plays a crucial part of Git. When you clone any Git repository on your local machine, this .git is the directory that actually gets copied.
More Related questions...