# microsoft/git SLOC report

> microsoft/git: 1,169,247 code lines at commit d249f3d7013c, counted with tokei-14.0.0 on 2026-10-21. Saved result 6342eda7ac48514aecbc1f21acc32cd353f374771b3853b577aeeedb2ea1ac8a.

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.

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.

## 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. PO File accounts for 30.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 60 | 611,158 | 356,385 | 117,818 | 136,955 |
| Shell | 1,359 | 367,574 | 318,348 | 15,436 | 33,790 |
| C | 651 | 413,560 | 315,824 | 45,051 | 52,685 |
| AsciiDoc | 955 | 144,634 | 113,927 | 52 | 30,655 |
| C Header | 351 | 47,741 | 22,962 | 18,257 | 6,522 |
| TCL | 40 | 12,608 | 10,380 | 639 | 1,589 |
| Perl | 50 | 13,180 | 10,157 | 1,228 | 1,795 |
| Meson | 40 | 5,554 | 4,891 | 339 | 324 |
| Makefile | 21 | 6,131 | 4,329 | 992 | 810 |
| Python | 3 | 5,035 | 3,803 | 333 | 899 |
| BASH | 2 | 4,142 | 3,170 | 627 | 345 |
| Rust | 11 | 1,675 | 1,385 | 66 | 224 |
| CMake | 3 | 1,361 | 1,107 | 58 | 196 |
| CSS | 2 | 1,052 | 841 | 30 | 181 |
| JavaScript | 7 | 1,613 | 761 | 650 | 202 |
| Autoconf | 18 | 477 | 404 | 22 | 51 |
| Zsh | 1 | 318 | 254 | 21 | 43 |
| Batch | 3 | 350 | 156 | 129 | 65 |
| PowerShell | 2 | 67 | 55 | 0 | 12 |
| XSL | 5 | 67 | 44 | 13 | 10 |
| TOML | 3 | 46 | 35 | 2 | 9 |
| M4 | 1 | 40 | 29 | 9 | 2 |
| Markdown | 16 | 3,686 | 0 | 2,665 | 1,021 |
| Plain Text | 20 | 630 | 0 | 583 | 47 |

Top language (PO File 30.5%). Generated at 2026-10-21T04:00:22.579528390Z. Canonical report: https://octocounts.com/github/microsoft/git/commit/d249f3d7013c5b6cf09413827d36073d759fbbc1?reportId=6342eda7ac48514aecbc1f21acc32cd353f374771b3853b577aeeedb2ea1ac8a&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/microsoft/git/commit/d249f3d7013c5b6cf09413827d36073d759fbbc1?reportId=6342eda7ac48514aecbc1f21acc32cd353f374771b3853b577aeeedb2ea1ac8a&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does microsoft/git have?

microsoft/git has 1,642,699 total lines, including 1,169,247 code lines, 205,020 comment lines, and 268,432 blank lines.

### How was the microsoft/git line count measured?

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.

### What commit was counted for microsoft/git?

This OctoCounts report was generated from vfs-2.56.0 at commit d249f3d7013c on 2026-10-21T04:00:22.579528390Z.

## Similar repository reports

- [git/git](https://octocounts.com/github/git/git) — PO File, 1,152,148 code lines
- [KDE/kdenlive](https://octocounts.com/github/KDE/kdenlive) — PO File, 1,121,212 code lines
- [frappe/frappe](https://octocounts.com/github/frappe/frappe) — PO File, 1,101,849 code lines
- [reactive-resume/reactive-resume](https://octocounts.com/github/reactive-resume/reactive-resume) — PO File, 1,044,914 code lines
- [util-linux/util-linux](https://octocounts.com/github/util-linux/util-linux) — PO File, 1,012,004 code lines
- [prusa3d/PrusaSlicer](https://octocounts.com/github/prusa3d/PrusaSlicer) — PO File, 1,352,240 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
