microsoft/git has 1,169,247 source lines of code out of 1,642,699 total lines across 3,624 files, counted from the vfs-2.56.0 ref at commit d249f3d7013c by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-21 (commit d249f3d7013c), microsoft/git contains 1,642,699 total lines: 1,169,247 code, 205,020 comments, 268,432 blank, across 3,624 files in 24 languages (top: PO File 30.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/git to commit d249f3d7013c, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
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. PO File accounts for 30.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PO File | 60 | 611158 | 356385 | 117818 | 136955 |
| Shell | 1359 | 367574 | 318348 | 15436 | 33790 |
| C | 651 | 413560 | 315824 | 45051 | 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 language (PO File 30.5%). Generated at .
microsoft/git has 1,642,699 total lines, including 1,169,247 code lines, 205,020 comment lines, and 268,432 blank lines.
OctoCounts resolved the public GitHub repository to commit d249f3d7013c, 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 d249f3d7013c on 2026-10-21T04:00:22.579528390+00:00.
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,247 code lines across 12 languages, counted by tokei.