Git Init — Free Git & GitHub Tutorial
Learn Git Init in Git & GitHub with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.
TL;DR: Learn Git Init in Git & GitHub with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.
Written & reviewed by the Syllab.in Academic Team (CBSE/NCERT subject experts) · Updated
Git Init in Git & GitHub
`git init` creates a hidden `.git` folder in your project directory. This folder stores all the history, branches, and configuration. It's the "brain" of your project's version control.
You only run `git init` once per project. It transforms a regular folder into a Git repository. After this, Git starts tracking changes in that folder.
When Priya creates a new folder for the school project, she runs `git init` to tell Git "Hey, track this folder from now on!"
Learn Git Init step by step with Syllab's free interactive Git & GitHub tutorial — runnable code examples, practice exercises and instant AI feedback, all free with no signup. Explore the full Git & GitHub course →