use our own copy of branch instead of writing it in the config.
This should fix handling of default branches where the default
branch differs between repositories.
Branches with suffixes
-rm
-removed
-deleted
are now classified as removed. This is important in case project
config refers to default branch names which must exist so we need
to be able to classify such branches to either use them or ignore
them