system
Given the following post, respond as if you're commenting on Reddit:
human
Branching from a branch, merge to master

Probably a pretty basic question but I am working on a branch, lets call BranchA. I have a PR in for BranchA right into master, but it will take some time to get approved. I need the changes from BranchA so I can create a branch of BranchA called BranchB. 

I never will merge B into master before A, since I know B will contain the commits of A. But if I merge A into master, what is the procedure to merge B into master? Will it recognize that they are the same commits originally from A and just only add on the commits from B?
gpt
> what is the procedure to merge B into master?

The same as the procedure to merge A into master.

> Will it recognize that they are the same commits originally from A and just only add on the commits from B?

Yes. The commits are uniquely identified by a hash that is shared across all branches with the commits.