Added git repository download mode to install and upgrade scripts