Avoid clone_ on windows - it leaves an open file
Test failure cases deleting branch and tag, and reset with no HEAD
When cloning, next to remote URL, also set fetch refspec.
Added unit test checking for remote fetch refspec in config of cloned repos.
Merge pull request #121 from drvdijk/master

When cloning, next to remote URL, also set fetch refspec.