Documentation
Git Scan
Repository analysis and code intelligence. Paste a GitHub URL, get a full breakdown.
What Git Scan Does
Git Scan takes a public GitHub repository URL and runs a full analysis on it. You get:
- →AI Analysis Score — A 0-100 trust/quality score based on code structure, patterns, and originality.
- →Code Overview — Full file tree, language breakdown, and diff viewer for inspecting source.
- →Likely Origins — Detects forks, copied code, and identifies source repositories. Shows which repos the target was likely derived from.
- →Repository Maturity — Stars, forks, age, contributor count, commit frequency, and maintenance status.
- →Pattern Detection — Identifies design patterns, architectural choices, higher-order functions, error handling patterns, and code concepts used across the codebase.
How to Use
Step 1
Paste a GitHub URL
Enter any public GitHub repository URL in the scan bar. Format: https://github.com/owner/repo
Step 2
Hit Scan
Git Scan fetches the repository, analyzes the file structure, runs pattern detection, checks for forks/copies, and generates an AI analysis.
Step 3
Review Results
Get your score, browse the file tree, read the AI overview, and check likely origins. Use the diff viewer to inspect specific files.
Scoring System
Every scanned repository receives a score from 0 to 100. The score factors in:
Originality
How much of the code is original vs copied from other repos.
Maturity
Age, commit frequency, number of contributors, maintenance activity.
Code Quality
Pattern usage, error handling, type safety, architecture decisions.
Community Trust
Stars, forks, open issues, PR activity, and community engagement.
Score Ranges
Origin Detection
Git Scan identifies where code came from. When you scan a repository, we check for:
- •Direct forks — Repos that forked from the target or that the target forked from.
- •Code copies — Repos with matching file structures or code blocks that weren't forked through GitHub's fork mechanism.
- •Derivative works — Projects that reuse components or architecture from the target without being direct copies.
Results show a list of likely origin repos with links, so you can verify provenance before trusting or integrating any project.
Pattern Detection
Git Scan identifies code patterns and architectural concepts used in the repository:
// Example pattern detection output
{
"design_patterns": ["singleton", "factory", "observer"],
"middleware_patterns": ["middleware", "interceptor", "pipe"],
"type_guards": ["type guard", "is", "narrowing"],
"higher_order_functions": ["callback", "factory", "closure"],
"error_handling": ["try/catch", "error boundary", "Result type"],
"streams": ["stream", "pipe", "transform", "readable"]
}
This helps you understand the codebase architecture at a glance without reading every file.
Supported Languages
Data Sources
Git Scan pulls data from:
- •GitHub REST API — Repository metadata, file contents, commit history, contributors, languages.
- •AI Analysis — Code pattern recognition, quality assessment, and originality scoring via language models.
- •Fork Network — GitHub's fork graph to trace code lineage and identify derivative projects.
Only public repositories can be scanned. Private repos are not accessible.