Skip to main content


Git is a distributed version control system that tracks changes in any set of computer files, usually used for coordinating work among programmers collaboratively developing source code during software development.

Installation and Setup​

First, you need to install GitPython python package.

pip install GitPython

Document Loader​

See a usage example.

from langchain_community.document_loaders import GitLoader
API Reference:GitLoader

Was this page helpful?

You can also leave detailed feedback on GitHub.