Adding the template files and the legacy files the the git database