Load Git repository files.
The Repository can be local on disk available at repo_path,
or remote at clone_url that will be cloned to repo_path.
Currently, supports only text files.
Each document represents one file in the repository. The path points to
the local Git repository, and the branch specifies the branch to load
files from. By default, it loads from the main branch.
Optional. The branch to load files from. Defaults to main.
Optional. A function that takes a file path and returns a boolean indicating whether to load the file. Defaults to None.