Make an intermediate directory for testing and check if git is installed