[rt.cpan.org #87172] Applied changes by Jim Cochrane to add a -g switch, which uses "git mv" instead of mv.
Fixes for 'git mv' feature: Make sure we're in the repo dir, don't touch
the .git dir, find the git executable. Added test cases.