# microsoft/git SLOC report

> microsoft/git: 1,169,311 code lines at commit 5ef66ed6ed3e, counted with tokei-15.0.0 on 2026-11-06. Saved result 2ff7d9d116739dc655803c0e1c916204b0bfaf4de8a907eff727d3b309fa3159.

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.

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.

## 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.

## 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.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 60 | 611,158 | 356,385 | 117,818 | 136,955 |
| Shell | 1,359 | 367,646 | 318,411 | 15,440 | 33,795 |
| C | 651 | 413,565 | 315,825 | 45,055 | 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 programming language: Shell 27.2%. Generated on November 6, 2026. Canonical report: https://octocounts.com/github/microsoft/git/commit/5ef66ed6ed3ebd349703adaee01425e32a711f9b?reportId=2ff7d9d116739dc655803c0e1c916204b0bfaf4de8a907eff727d3b309fa3159&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/5ef66ed6ed3ebd349703adaee01425e32a711f9b?reportId=2ff7d9d116739dc655803c0e1c916204b0bfaf4de8a907eff727d3b309fa3159&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,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

- [peff/git](https://octocounts.com/github/peff/git) — PO File, 1,161,979 code lines
- [git/git](https://octocounts.com/github/git/git) — PO File, 1,159,686 code lines
- [freeipa/freeipa](https://octocounts.com/github/freeipa/freeipa) — PO File, 1,187,624 code lines
- [KDE/kdenlive](https://octocounts.com/github/KDE/kdenlive) — PO File, 1,141,352 code lines
- [ChurchCRM/CRM](https://octocounts.com/github/ChurchCRM/CRM) — PO File, 1,292,202 code lines
- [frappe/frappe](https://octocounts.com/github/frappe/frappe) — PO File, 1,320,859 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)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Bun vs Node.js](https://octocounts.com/compare/bun-vs-node)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
