Rename default_branch_or_master to default_branch_or_main
Let's rename the method and return `main` when default branch is not set. In most cases it shouldn't change the product behavior, but in the cases when a project is empty `main` will be created by default instead of `master` if for some action a branch is required.
Showing
Please register or sign in to comment