git directory in git repo

.git directory stores all important information about the Git repository. It is present in your git repository directory as shown in below image.Let us take a look at the significance of each of these files and directories.
  • hooks – actions to be takes after certain event like commit, update etc.
  • info
  • objects
  • refs – list of all refs like heads, tags etc
  • config – tells if repository is bare or not. Also contains lot of configuration settings like user name, email address, remotes
  • description – Name of the repository
  • HEAD – current ref

Web development and Automation testing

solutions delivered!!