Skip to main content

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.

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.

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 init to create a new repository from scratch
  • Use git clone to create a copy of an existing repository