Some cleanups to the git module
Fix git mod so that we switch to the desired version even if it was previously downloaded