microsoft/git

microsoft/git has 1,169,870 source lines of code out of 1,643,469 total lines across 3,632 files, counted with tokei from the vfs-2.56.1 ref at commit a6974a1ce8de on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

microsoft/git: 1,169,870 code lines at commit a6974a1ce8de, counted with tokei-15.0.0 on 2026-11-12. Saved result e12a89d6203683ac9b0cc397b8d8b0a37e51c4ebc218cedd696e7f37fae8558c.

OctoCounts produced this report by resolving microsoft/git to commit a6974a1ce8de, 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 322 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
Shell13593680503187631546033827
C6534136723158964507352703
AsciiDoc9611447991140525230695
C Header3514775422969182616524
TCL4012608103806391589
Perl50131801015712281795
Meson4055564893339324
Makefile2161334331992810
Python350353803333899
BASH241423170627345
Rust111675138566224
CMake31361110758196
CSS2105284130181
JavaScript71613761650202
Autoconf184774042251
Zsh13182542143
Batch335015612965
PowerShell26755012
XSL567441310
TOML3463529
M41402992
Markdown163686026651021
Plain Text20630058347

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,870 lines of code, plus 205,070 comment lines and 268,529 blank lines, for 1,643,469 total lines at commit a6974a1ce8de on November 12, 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 a6974a1ce8de, 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.1 at commit a6974a1ce8de on November 12, 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,870 code lines across 24 languages, counted by tokei.