move git to a directory