the func for git seems excessive