git init

Category: Git - Core

git init

Initialize a new empty Git repository in current directory

Creates a new, empty Git repository in the current directory. Git tracks changes to your files over time.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.