Some apps need Xcode command line tools.
For example, I use exiftool to set file dates the same as image and movie internal metadata dates. In macOS the command asks for Xcode Command Line Tools install (like OpenShot does) which can be ignored but then the FileCreateDate moves only backwards in time (the install is quite small and fast, not the huge Xcode install).
I usually download and install it from here with the latest non-beta version for that macOS version:
https://developer.apple.com/download/more/
Then accept Xcode EULA via the Terminal:
sudo xcodebuild -license
After that there might be very rarely a prompt to update to the latest version.
You can install Xcode command line tools also via the Terminal with the command below but in my experience that might sometimes fail so I usually download it manually.
xcode-select --install