Stopped git module from unnecessarily checking with the remote.

I found that the git module does some unnecessary communication with the remote when I specify a specific sha-version to check out and that version is already checked out. This fixes that.