git rm and replace script pwds