Skip to content
zero2vibecodelearn vibe coding

What git init does

Start a new Git repository in the current folder.

gitinit
  • gitcommand — track changes to your project and share them
  • initargument: a file, a folder, or text

What it does when you run it

$ git init
Initialized empty Git repository in /home/user/.git/

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii