Check out example codes for "how to show code conflicts in git". It will help you in understanding the concepts better.
Code Example 1
$ cat merge.txt<<<<<<< HEADthis is some content to mess withcontent to append=======totally different content to merge later>>>>>>> new_branch_to_merge_later
Code Example 2
$ git statusOn branch masterYou have unmerged paths.(fix conflicts and run "git commit")(use "git merge --abort" to abort the merge)Unmerged paths:(use "git add <file>..." to mark resolution)both modified: merge.txt
Learn ReactJs, React Native from akashmittal.com