- Make empty folder called
git-plumbing. Git is not initialised! - Make
.gitdirectory where all the Git system will reside. Git is not initialised! - Git repository is a collection of object and a system for naming those objects (refs). Let's make
objectsandrefssubfolders. - Let's make
.git/refs/headswhich keep track of branches. Git is not initialised! - The last missing piece to initialise a Gitrepo is a
HEADfile with content:
ref: refs/heads/master