Improve using current branch as a name

There were several context in which using the name of
the current branch is beneficial.