In most cases, it is advised to do 'git pull' after swithing to another branch.