Add git-specific docs, exclude from distribution
Improve docs and fix bugs introduced by generalising the code
Better handling of missing settings
Further docs improvements and testing after fixes. Ready to go.