extract history-script updated to git