Retrieves the context from the repository directory, including file names and content for specified files.
The directory path.
Optional
Optional path to the .gitignore file.
Optional array of additional relative paths to be ignored.
A text string including file names and their content.
Retrieves the context from the repository directory, including file names and content for specified files.