Failure in browser_ui/3_create/repository/push_over_http_file_size_spec.rb | Create push after setting the file size limit via admin/application_settings push successful when the file size is under the limit

Full description

Create push after setting the file size limit via admin/application_settings push successful when the file size is under the limit

File path

./qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb

Stack trace

Failure/Error:
  output = Resource::Repository::Push.fabricate! do |p|
    p.repository_http_uri = @project.repository_http_location.uri
    p.file_name = file_name
    p.file_content = SecureRandom.random_bytes(3000000)
    p.commit_message = commit_message
    p.new_branch = false
  end

QA::Support::Run::CommandError:
  The command HOME="/tmp/qa-netrc-credentials/21" git checkout  "master" 2>&1 failed (1) with the following output:
  error: pathspec 'master' did not match any file(s) known to git

First happened in https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/7070265.

Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347758.