moved git calls out of makefile