Extension:Git2Pages

The Git2Pages extension would allow transclusion of snippets of code in a wiki page from a file in a git repository.

Usage

 * : The URL of the git repository. REQUIRED
 * : The filename whose data is going to be displayed. REQUIRED
 * : The branch to look for the file. OPTIONAL (Default = master)
 * : The start of where the snippet will be pulled. OPTIONAL (Default = Start of file)
 * : The end of where the snippet will be pulled. OPTIONAL (Default = End of file)

Requirements
This extension runs and requires bash.