Add git pull before checking out branch.