fixed homebrew install url and added git stash to upgrade command