checkout

Action for checking out a repo

134 articles 8.3k View on GitHub ↗
134 articles
How actions/checkout Configures SSH Authentication and Known Hosts

Learn how actions/checkout configures SSH authentication and known hosts by managing private keys and known hosts via temporary files and the GIT_SSH_COMMAND environment variable.

how-to-guide
Aug 30, 2026
How actions/checkout Prevents Ref Parsing Attacks with ASCII-Only Trimming

actions/checkout stops ref parsing attacks by trimming only ASCII whitespace. Learn how this protects against malicious branch names disguised as SHAs and secures fork PRs.

how-to-guide
Aug 30, 2026
Git Version Required for SHA-256 Object Store Support in actions/checkout

actions/checkout needs Git 2.30+ for SHA-256 object store support. Learn why older versions fall back to the REST API and ensure smooth Git operations.

how-to-guide
Aug 30, 2026
How actions/checkout Supports SHA-256 Repository Object Format

actions/checkout automatically supports SHA-256 repositories using the GitHub API and the --object-format=sha256 flag for seamless compatibility. Learn how.

deep-dive
Aug 30, 2026
How actions/checkout Validates Moved Tags After Fetching: A Deep Dive into the Verification Logic

actions/checkout validates moved tags after fetching by comparing commit SHAs. Learn how this verification logic prevents workflow issues.

deep-dive
Aug 30, 2026
How actions/checkout Handles Ref Movement During Fetch

Discover how actions/checkout handles ref movement during fetch. Learn about its two-step verification process for accurate commit checkouts.

internals
Aug 30, 2026
How Non-Cone Mode Sparse Checkout Works in actions/checkout

Understand how non-cone mode sparse checkout in actions/checkout bypasses Git's cone-mode algorithm using legacy pattern matching for flexible repository checkouts.

internals
Aug 30, 2026
How Cone Mode Sparse Checkout Works in actions/checkout

Understand how cone mode sparse checkout in actions/checkout leverages Git's native sparse checkout set command for efficient and optimized checkouts. Learn more.

internals
Aug 30, 2026
Sparse Checkout Implementation in actions/checkout: Cone vs Non-Cone Modes

Explore sparse checkout in actions/checkout. Learn about cone mode and non-cone mode implementations for efficient Git checkouts. Optimize your workflow today.

internals
Aug 30, 2026
Does actions/checkout Support SSH Keys with the REST API Fallback?

actions/checkout does not support SSH keys with REST API fallback. Learn why the action aborts and how to avoid errors with your Git operations.

how-to-guide
Aug 30, 2026
Does actions/checkout Support Submodules with the REST API Fallback?

Discover if actions/checkout supports submodules when falling back to the REST API. Learn about limitations and potential errors to avoid in your GitHub Actions workflows.

how-to-guide
Aug 30, 2026
Limitations of the REST API Fallback in actions/checkout

Discover the limitations of the REST API fallback in actions/checkout. Learn why it disables Git-LFS, submodules, SSH, and more by downloading a static archive instead of a full Git clone.

deep-dive
Aug 30, 2026
…

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →