Ensure that we can get a commit number from git
Currently, git describe fails with "fatal: No names found, cannot describe anything."

Does `git fetch --tags` help? Let's keep the version string the same for all installs. #4218 
 This happens when you use a shallow git clone and I agree that requiring the entire git
repo to install trunk isn't reasonable.

Merged, Thanks.
