[Fix] when originally installed without git, ensure it can be upgraded to use git.
[Fix] when originally installed without git, ensure it can be upgraded to use git.

Fixes #1212. Closes #1213.
edwmurph/nvm,PeterDaveHello/nvm,creationix/nvm,evocateur/nvm,lukechilds/nvm,lukechilds/nvm,ljharb/nvm,ljharb/nvm,creationix/nvm,edwmurph/nvm,PeterDaveHelloKitchen/nvm,evocateur/nvm,PeterDaveHelloKitchen/nvm,PeterDaveHello/nvm