# Git Clone

> Clone remote repositories with various options.

- Skill: `andersonlimahw/git-clone` (Agent Skill)
- Install (CLI): `npx skillmds@latest add andersonlimahw/git-clone`
- Raw SKILL.md: https://api.skillmd.com/api/skills/andersonlimahw/git-clone/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Andersonlimahw (https://skillmd.com/u/andersonlimahw)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/andersonlimahw/git-clone

---


# Git Clone Skill

Clone repositories from remote sources with depth, branch, and submodule options.

## Capabilities
- Clone repository: `git clone <url>`
- Clone to directory: `git clone <url> <directory>`
- Clone specific branch: `git clone -b <branch> <url>`
- Shallow clone (depth): `git clone --depth <n> <url>`
- Clone with submodules: `git clone --recurse-submodules <url>`
- Clone single branch: `git clone --single-branch <url>`
- Clone with tags: `git clone --tags <url>`
- Clone bare: `git clone --bare <url>`
- Clone mirror: `git clone --mirror <url>`
- Clone with SSH: `git clone git@github.com:user/repo.git`
- Clone with sparse checkout: `git clone --filter=blob:none <url>`

## Usage
Triggered when user says "clone", "clone repo", "download repository".
Use `--depth 1` for CI or quick clones. Use `--recurse-submodules` for repos with submodules.

