starphleet-git-synch refactor and some git and install fixes