add some git setup scripts and fix Makefile to be able to install more than once