Get origin of branch

How can I know the origin (branch) of selected branch?

@dainiervg1988Could you elaborate your query

1 Like

Ok, generally when we create a new branch in a git repository its have a base branch, the first time its master by default, but if create a new one, and we are checked on master somehow its related to master.

My question is:

There are any way to check when we’re listing branches what is his parent?

I hope you understand me.

Greetings,