Suggest an editImprove this articleRefine the answer for “How to initialize git?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**Git initialization** is creating a new Git repository in the project folder using the `git init` command. **Key point:** after initialization, a hidden `.git/` directory appears in the folder, and Git starts tracking file changes.Shown above the full answer for quick recall.Answer (EN)ImageInitializing Git is creating a **new Git repository** in the project folder. --- ## Basic method (most common) 1. Open the terminal 2. Navigate to the project folder: ```bash cd path/to/project ``` 3. Run the command: ```bash git init ``` After this: - a hidden `.git/` directory appears in the folder - the project becomes a Git repository - Git starts tracking file changesFor the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.