Git mv glob PowerShell
The git mv command tracks moves or renames of Git tracked files similar to the shell “mv” command. Typically it’s useful to “glob” match patterns of files to move to avoid extra typing. PowerShell command substitution is used with Get-ChildItem and “git mv”:
git mv $(gci -Path ./source_dir/ -Include *.cpp) ./dest_dir/