generates a class to to represent a git repo