Build a git repo class