forked from Archives/langchain
20 lines
542 B
Markdown
20 lines
542 B
Markdown
|
# Git
|
||
|
|
||
|
>[Git](https://en.wikipedia.org/wiki/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.
|
||
|
|
||
|
```bash
|
||
|
pip install GitPython
|
||
|
```
|
||
|
|
||
|
## Document Loader
|
||
|
|
||
|
See a [usage example](../modules/indexes/document_loaders/examples/git.ipynb).
|
||
|
|
||
|
```python
|
||
|
from langchain.document_loaders import GitLoader
|
||
|
```
|