Init commands are used to create new Git repositories or clone existing ones. These are typically the first commands you’ll use when starting work with Git.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/git/git/llms.txt
Use this file to discover all available pages before exploring further.
git-clone
Clone a repository into a new directory
git-init
Create an empty Git repository or reinitialize an existing one
Usage
These commands are fundamental to starting any Git workflow:- Use
git initto create a new repository from scratch - Use
git cloneto create a copy of an existing repository
Related Commands
- Main Commands - All main Git commands
- Worktree Commands - Commands for working with files
