Added check for valid git repo and added fix for compile error to README

If given a non valid git repo the program crashed, the patch checks for a valid git repo before trying to unite. 

On Windows 7 64-bit systems the EnableNuGetPackageRestore environment variable must be set to true, this has been added to the README.