Hi Martin,
This is more of a warning than an error. The purpose is to inform you that you can get more version control feature with a later version of Git.
You can choose to not let Studio Pro to show this message.
The menu is in Setting->Version control->Git. Select "Do not show warning about Git version" to do so.
To truly resolve the warning message. You can point the path of Git in Studio Pro if you have a newer version of Git installed.
For example, I use homebrew to manage packages that installed on my Mac and the path to Git binary (to be precise, it's a symbolic link) is /opt/homebrew/bin/git. Set Git location to this path and it should resolve your issue.