Bug in repository branches
<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "regression" or "bug" label.
For the Community Edition issue tracker:
- https://gitlab.com/gitlab-org/gitlab-ce/issues?label_name%5B%5D=regression
- https://gitlab.com/gitlab-org/gitlab-ce/issues?label_name%5B%5D=bug
For the Enterprise Edition issue tracker:
- https://gitlab.com/gitlab-org/gitlab-ee/issues?label_name%5B%5D=regression
- https://gitlab.com/gitlab-org/gitlab-ee/issues?label_name%5B%5D=bug
and verify the issue you're about to submit isn't a duplicate.
--->
### Summary
the message in repository branches shows ahead and behind based on the default branch but instead it uses the word master
### Steps to reproduce
create a new branch call it anything and make it default , creat a new branch from the default branch and commit push 1|0 will be shown when you hover the message shown will be ahead and behind master when it should be the name of the default branch

issue