What is a Bare Git Repository?

While using git you must have come across some questions like:

  • If git is a Distributed Version Control System then where is the remote repo of git stored in our system?
  • Why can’t we directly push into or clone from our local repository?
  • Can I host my own private remote repository just like GitLab or GitHub for my own small project?
  • What if there was no GitLab or GitHub or Bitbucket or… I mean… you got the point, right?

Well… and answer to all these questions is the same and that is a Bare Git Repository.

LET’S GET STARTED

First things first, what is a Bare Git Repository and how is it different from a normal Git Repository.

Continue reading “What is a Bare Git Repository?”