Refactoring code for expanding arguments and PSDrive
Git invoke script (try to find Git, and expand PSDrives)