Added Git SHA1 retrieval to CMake. Not used for anything yet.