The best approach is implement hybrid environment by installing Azure AD connect if it's not yet installed , to sync all on-prem groups for SharePoint automatically to Azure AD.
If name convention in Azure AD are changed , in this case you can rename on-premise groups to respect the new naming convention in Azure.
Please don't forget to mark helpful answer as accepted