# git-clone

> Use this tool when you need to replicate a Git repository locally for further processing, such as scans, builds, or analysis, and it solves problems like accessing remote codebases by accepting HTTPS and SSH URLs as input and outputting the cloned repository to a specified local directory. It takes in a repository URL, optional reference, and target path, providing a local copy of the repository. Use git-clone in pipelines that require fetching source code from Git repositories.

Canonical page: https://skillsregistry.net/skills/git-clone  
JSON: https://api.skillsregistry.net/v1/skills/git-clone

## Description

Clone a Git repository to a local working directory. Supports HTTPS and SSH URLs. Useful for pipelines that need to fetch source before running scans, builds, or analysis.

## Trust

- **Trust score (0–1):** 0.85
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** version-control
- **Tags:** git, vcs, clone, repository
- **Updated:** 2026-06-16

## Source

- **Source listing:** manual

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "git-clone"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/git-clone` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/git-clone/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
