NEW add git fuctionality (untested)
CHANGE cleanup
CHANGE cleanups