Port build process to Git.