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 fails when the file size is above the limit

Full description

Create push after setting the file size limit via admin/application_settings push fails when the file size is above the limit

File path

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

Stack trace

Failure/Error:
  expect { push_new_file('oversize_file_2.bin', wait_for_push: false) }
    .to raise_error(QA::Support::Run::CommandError, /remote: fatal: pack exceeds maximum allowed size/)

  expected QA::Support::Run::CommandError with message matching /remote: fatal: pack exceeds maximum allowed size/, got #<QA::Support::Run::CommandError: The command HOME="/tmp/qa-netrc-credentials/21" git checkout  "mast...iled (1) with the following output:
  error: pathspec 'master' did not match any file(s) known to git> with backtrace:
    # ./qa/support/run.rb:36:in `run'
    # ./qa/git/repository.rb:306:in `run_git'
    # ./qa/git/repository.rb:74:in `checkout'
    # ./qa/resource/repository/push.rb:79:in `block in fabricate!'
    # ./qa/scenario/actable.rb:16:in `perform'
    # ./qa/git/repository.rb:32:in `block (2 levels) in perform'
    # ./qa/git/repository.rb:32:in `chdir'
    # ./qa/git/repository.rb:32:in `block in perform'
    # ./qa/git/repository.rb:31:in `perform'
    # ./qa/resource/repository/push.rb:47:in `fabricate!'
    # ./qa/resource/base.rb:35:in `block (2 levels) in fabricate_via_browser_ui!'
    # ./qa/resource/base.rb:82:in `log_and_record_fabrication'
    # ./qa/resource/base.rb:35:in `block in fabricate_via_browser_ui!'
    # ./qa/resource/base.rb:72:in `do_fabricate!'
    # ./qa/resource/base.rb:34:in `fabricate_via_browser_ui!'
    # ./qa/resource/base.rb:26:in `rescue in fabricate!'
    # ./qa/resource/base.rb:23:in `fabricate!'
    # ./qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb:58:in `push_new_file'
    # ./qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb:43:in `block (5 levels) in <module:QA>'
    # ./qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb:43:in `block (4 levels) in <module:QA>'
    # ./qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb:82:in `block in retry_on_fail'
    # ./qa/support/retrier.rb:20:in `block in retry_on_exception'
    # ./qa/support/repeater.rb:46:in `repeat_until'
    # ./qa/support/retrier.rb:12:in `retry_on_exception'
    # ./qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb:81:in `retry_on_fail'
    # ./qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb:42:in `block (3 levels) in <module:QA>'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
    # ./qa/specs/spec_helper.rb:133:in `block (2 levels) in <top (required)>'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
    # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
    # ./qa/specs/knapsack_runner.rb:15:in `run'
    # ./qa/specs/runner.rb:54:in `perform'
    # ./qa/scenario/template.rb:10:in `block in perform'
    # ./qa/scenario/template.rb:8:in `tap'
    # ./qa/scenario/template.rb:8:in `perform'
    # ./qa/scenario/template.rb:50:in `perform'
    # ./qa/scenario/template.rb:10:in `block in perform'
    # ./qa/scenario/template.rb:8:in `tap'
    # ./qa/scenario/template.rb:8:in `perform'
    # ./qa/scenario/bootable.rb:51:in `launch!'

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/347759.