rename Repository -> GitRepo, further refactoring of repository