Move from git package to git class

In order to be more compliant with use of external classes in this role.
If another class uses git as well, we need/want to just `include git`
instead of declaring the package here.