think I am going to use these three files in Master Branch
MASTER :
index.php
<b>hello</b>
test.php
img.jpeg
now I create a branch from Master
NewBranch :
index.php
<b>hello</b>
test.php
img.jpeg
and now I will edit Master index.php file, and I will add two lines of code to master branch
MASTER :
index.php
<b>hello</b>
<a>test</a>
<p>good</p>
and I will change some code in NewBranch
NewBranch :
index.php
<b>hello</b>
<div>this is new branch line</div>
I want to update NewBranch so I will have my own edited lines on New Branch and also updated lines on Master Branch
NewBranch : (should be like as below)
index.php
<b>hello</b>
<div>this is new branch line</div>
<a>test</a>
<p>good</p>
How can I achieve that? I have used netbeans Pull and Fetch, but did not worked. I also do not want to use git submodule ( as I do not have separate folder )