- Make empty folder called
git-plumbing
. Git is not initialised! - Make
.git
directory 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
objects
andrefs
subfolders. - Let's make
.git/refs/heads
which keep track of branches. Git is not initialised! - The last missing piece to initialise a Gitrepo is a
HEAD
file with content:
ref: refs/heads/master