add a git pull to make sure the latest changes for branches are accounted for before merging.