Put oh-my-zsh after git as the former depends on the latter.
No need to pass -y option to `apt-get update`.
`apt-get update` once is enough.
No need to check installed or not.