abstract get git major version method