Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
Hide the push to master instructions for users that are not allowed to do that. Also hide buttons that would direct them to commit directly in master