Sometimes you don't want to open a terminal for a quick commit and it's easier to execute a command from the context menu
On mac put files in Users/Username/Library/Services
and open them once to install the services. Then in System Settings
go to Privacy & Security > Extensions > Finder
and enable the quick actions. Can be converted to Shortcuts.