microsoft/git

microsoft/git has 1,169,311 source lines of code out of 1,642,776 total lines across 3,624 files, counted with tokei from the vfs-2.56.0 ref at commit 5ef66ed6ed3e on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-06 (commit 5ef66ed6ed3e), microsoft/git contains 1,642,776 total lines: 1,169,311 code, 205,028 comments, 268,437 blank, across 3,624 files in 24 languages (top programming language: Shell 27.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-06 (commit 5ef66ed6ed3e), microsoft/git contains 1,642,776 total lines: 1,169,311 code, 205,028 comments, 268,437 blank, across 3,624 files in 24 languages (top programming language: Shell 27.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/git to commit 5ef66ed6ed3e, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a very large codebase by counted code lines. Code represents 71.2% of all lines, comments represent 12.5%, and the repository averages 323 code lines per file. Shell is the largest programming language at 27.2% of counted code; data and prose formats such as JSON or YAML hold a larger share.

LanguageFilesLinesCodeCommentsBlanks
PO File60611158356385117818136955
Shell13593676463184111544033795
C6514135653158254505552685
AsciiDoc9551446341139275230655
C Header3514774122962182576522
TCL4012608103806391589
Perl50131801015712281795
Meson4055544891339324
Makefile2161314329992810
Python350353803333899
BASH241423170627345
Rust111675138566224

Top programming language: Shell 27.2%. Generated on .

Counting rules and retention

microsoft/git: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/git have?

microsoft/git has 1,169,311 lines of code, plus 205,028 comment lines and 268,437 blank lines, for 1,642,776 total lines at commit 5ef66ed6ed3e on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the microsoft/git line count measured?

OctoCounts resolved the public GitHub repository to commit 5ef66ed6ed3e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for microsoft/git?

This OctoCounts report was generated from vfs-2.56.0 at commit 5ef66ed6ed3e on November 6, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for microsoft/git on this page — 1,169,311 code lines across 24 languages, counted by tokei.