You welcome, this plugin uses the classes SideBarSelection, and SideBarItem originally created for "SideBar Enhancements" plugin.
**SideBarSelection **takes a list of paths as arguments at let you know some "properties" of that paths ( hasDirectories, hasFiles, hasOnlyDirectories, hasFilesWithExtension, etc )
**SideBarItem **is for manage a path ( directory or file ) in many ways (get path with file system encoding, copy, rename, move, delete, get mime, content, etc )
**SideBarGit ** class has method getSelectedRepos ( which should be moved to class SideBarSelection at some point) that given a list of paths it returns the paths of the git repos found on that list.
I'm all in to use it as a framework to do anything related to files or directories "in the right way", btw, still under testing and probably needs little tweaks. It would be nice if we can add these classes (SideBarSelection and SideBarItem ) to the "Default" package.
About creating standard-ish framework for SCM integration is hard, because different SCMs provide different options and features..