Why not just git clone?

When you need the code — not the history — godegit gets you there faster.

Feature Comparison

Featuregit clonegit clone --depth 1degitgodegit
Download time (average)45+ seconds25+ seconds5-10 seconds3-5 seconds
Output size150MB+50MB+5-15MB5-15MB
Includes .git folder
Includes full history
Preserves LICENSE files
Subdirectory download
Branch selection
Private repos
Platform supportAllAllNode.js requiredLinux, macOS, Windows
DependenciesGitGitNode.js + npmNone
Measured on vercel/next.js repository
Scroll horizontally to see all columns →

godegit goes further — it warns you about restrictive licenses before you’re in too deep.

Learn about license awareness

Real-World Use Cases

See how developers use godegit for common workflows — each with a real command you can copy and try.

📄

Project Templates

Grab a specific example from a monorepo without downloading the entire repository and its git history.

templates~/projects
$godegit vercel/next.js/examples/with-tailwindcss my-app
Downloading repository archive...
Extracting examples/with-tailwindcss...
Done! Created my-app/ (2.1MB in 1.4s)
📖

Tutorial Code

Download tutorial starter code or sample projects to follow along without cloning entire codebases.

tutorials~/learn
$godegit microsoft/vscode-extension-samples/lsp-sample my-extension
Downloading repository archive...
Extracting lsp-sample...
Done! Created my-extension/ (156KB in 0.8s)
🏢

Company Boilerplate

Scaffold new services from your organization's internal template repositories in seconds.

boilerplate~/work
$godegit company/node-service-template my-service
Downloading repository archive...
Extracting files...
Done! Created my-service/ (890KB in 0.6s)