Moved Git class functionality into Repository class