shell - better implementation of git update

Used fetch/merge instead of pull to update the local representation of the remote branch.
Using pull cause sometimes a wrong local representation of remote branch leading to inconsistent messages on "git status"