started to refactor out git specific functionality