REGISTRATION RIGHTS AGREEMENT by and among Golub Capital Private Credit Fund, Wells Fargo Securities, LLC, BNP Paribas Securities Corp., RBC Capital Markets, LLC and Truist Securities, Inc. Dated as of July 23, 2025 REGISTRATION RIGHTS AGREEMENT