- Don't need: switch branch1 to master, fetch the code then pull to local.
- Just keep current branch1, then fetch.
- Compare.
- code merged directly if the merger code does not exist in same line(don't conflict).
- need to solve conflict if the code diff in the same line.
- if the master code have merged to local branch1, the merged code have committed, to be push.
- after above step, if we change the local branch code same with remote branch, but the remote branch don't change, then merge code. the remote code will not be merged, because the code have been merged last time , and remote branch code have not change.
- if remote code been changed, local don't change. the code will be merged.