There is no such thing as a nested branch in git. If you have a branch named foo, and another branch named foo/bar, they are just two different branches. Theres no relationship between these branches - treat them the way you would treat any two separate branches.