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.
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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PO File | 60 | 611158 | 356385 | 117818 | 136955 |
| Shell | 1359 | 367646 | 318411 | 15440 | 33795 |
| C | 651 | 413565 | 315825 | 45055 | 52685 |
| AsciiDoc | 955 | 144634 | 113927 | 52 | 30655 |
| C Header | 351 | 47741 | 22962 | 18257 | 6522 |
| TCL | 40 | 12608 | 10380 | 639 | 1589 |
| Perl | 50 | 13180 | 10157 | 1228 | 1795 |
| Meson | 40 | 5554 | 4891 | 339 | 324 |
| Makefile | 21 | 6131 | 4329 | 992 | 810 |
| Python | 3 | 5035 | 3803 | 333 | 899 |
| BASH | 2 | 4142 | 3170 | 627 | 345 |
| Rust | 11 | 1675 | 1385 | 66 | 224 |
Top programming language: Shell 27.2%. Generated on .
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.
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.
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.
This OctoCounts report was generated from vfs-2.56.0 at commit 5ef66ed6ed3e on November 6, 2026.
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.