BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Managing large files
Lesson275 words

Managing large files

Design a strategy for managing large files

Why binaries hurt Git

Git stores text efficiently because successive versions delta well against each other. Binary files do not: a small edit to an image or archive produces a largely different file, so Git stores something close to a full copy every time.

The consequence is cumulative and permanent. Every clone fetches the entire history, so a binary committed once and deleted later still costs every developer, forever.

The three-way split

Use Git for source files, Azure Artifacts for dependencies, and Git LFS for large binary files that change often.

ContentStore in
Source codeGit
Third-party or built dependenciesAzure Artifacts
Large binaries that change often — design assets, mediaGit LFS

The middle row is the one teams miss: a compiled dependency does not belong in the repository at all, and moving it to a package feed removes the problem rather than managing it.

How LFS works

LFS replaces the file in Git with a small pointer, storing the content separately and fetching it on checkout. History stays small while the working tree looks normal.

git-fat solves the same problem by a similar pointer mechanism and appears in the objectives, but LFS is the mainstream choice.

Repository health

Microsoft's guidance is to keep repositories small for clone and maintenance performance, and to reach for Git LFS, Scalar or Azure Artifacts when they grow. Adding LFS does not shrink existing history — you must rewrite it, which rewrites every commit hash.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/repos/git/manage-large-files
  • https://learn.microsoft.com/en-us/azure/devops/repos/git/repo-health
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.