Revert "Require git when build spark"

This reverts commit 0445322159cc34f0e93428c1c3759a82b69539bd.