Upon commit, the branch operation should return to "No branch changes".
Created originally on Bitbucket by Balfa (Mo Cassidy)
This is irrespective of what it was immediately prior to (and hence during) the commit.
The user shouldn't have to take an explicit action to avoid continuing to "open a new named branch" for every commit after one where they intended to create a new named branch.
Likewise for closing the current branch.