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:

Help us out by providing feedback on this documentation page: