Adding index file class var to GitRepository