# microsoft/git SLOC report

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

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.

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.

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 60 | 611,158 | 356,385 | 117,818 | 136,955 |
| Shell | 1,359 | 368,050 | 318,763 | 15,460 | 33,827 |
| C | 653 | 413,672 | 315,896 | 45,073 | 52,703 |
| AsciiDoc | 961 | 144,799 | 114,052 | 52 | 30,695 |
| C Header | 351 | 47,754 | 22,969 | 18,261 | 6,524 |
| TCL | 40 | 12,608 | 10,380 | 639 | 1,589 |
| Perl | 50 | 13,180 | 10,157 | 1,228 | 1,795 |
| Meson | 40 | 5,556 | 4,893 | 339 | 324 |
| Makefile | 21 | 6,133 | 4,331 | 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 12, 2026. Canonical report: https://octocounts.com/github/microsoft/git/commit/a6974a1ce8de729b4804b7c4884c0d9dee0b5824?reportId=e12a89d6203683ac9b0cc397b8d8b0a37e51c4ebc218cedd696e7f37fae8558c&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/a6974a1ce8de729b4804b7c4884c0d9dee0b5824?reportId=e12a89d6203683ac9b0cc397b8d8b0a37e51c4ebc218cedd696e7f37fae8558c&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,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

- [peff/git](https://octocounts.com/github/peff/git) — PO File, 1,161,525 code lines
- [git/git](https://octocounts.com/github/git/git) — PO File, 1,158,366 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,004 code lines
- [ChurchCRM/CRM](https://octocounts.com/github/ChurchCRM/CRM) — PO File, 1,259,328 code lines
- [frappe/frappe](https://octocounts.com/github/frappe/frappe) — PO File, 1,317,628 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)
