diff --git a/Library/Homebrew/dev-cmd/tap-new.rb b/Library/Homebrew/dev-cmd/tap-new.rb
index 12f21e57d863d30b2ee53a378c6d12c592a6ea7a..d9c9f3b5e8aa4c6619d911365daa1113f9ba6853 100644
--- a/Library/Homebrew/dev-cmd/tap-new.rb
+++ b/Library/Homebrew/dev-cmd/tap-new.rb
@@ -120,11 +120,6 @@ module Homebrew
             - name: Set up git
               uses: Homebrew/actions/git-user-config@master
 
-            - name: Checkout default branch
-              env:
-                BRANCH: ${{ github.event.pull_request.head.repo.default_branch }}
-              run: git checkout $BRANCH
-
             - name: Pull bottles
               env:
                 HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}