These commands are useful for the following scenario:
Created branch mergeTypeDefs
build code and checked in
Created branch mergeResolvers using code checked out from mergeTypeDefs
went back to mergeTypeDefs and updated the code.
to update the mergeResolvers branch, the following commands were required:
git checkout mergeResolvers
git merge mergeTypeDefs