Please visit Git Integration for Jira app config and check Git Repositories tab (Jira dashboard menu Git ➜ Manage repositories ➜ Actions):
For integrations, go to Actions ➜ Show integration repositories ➜ click a repository to view the repository settings.
For repository connections, go to Actions ➜ Edit repository settings.
Check and verify the path to your configured repositories.
Also, an upgrade of Jira may lead to changing of user account used to run the service, which in turn, may result in lack of permissions.