Modify Makefile to save .git directory.