Make git dependency optional if GIT_VERSION is set
This means you can omit git as a build-time dependency, and that you don't need to have a .git directory in the build directory (it can be stripped by the build system).
This means you can omit git as a build-time dependency, and that you don't need to have a .git directory in the build directory (it can be stripped by the build system).