“Install git” error with Xcode installed

I have Xcode installed. Should I still get the “Install git” error message when I try to use the plugin manager?

I think for git you still need to install the Command Line Tools
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
either from Xcode or as a separate download

Install git from the official installer: https://git-scm.com/download/mac