Add USE_GIT functionalty to release.sh