Simplify API

Factor out git specific stuff to `repos`