add global variables to control use of git for renaming and deleting