1. git auto sync from the origin and remove any remote-tracking branchs which no longer exist in the remote
git fetch -prune or git pull -prune
2. what the different between git pull and git fetch?
git pull = do git fetch and fellowed do git merge.
git fetch just update the remote-tracking in your local. do not merge.