Copying the .git/ directory during tests setup.
All plugins with a .git/ directory will be loaded during tests, see: c8ab9525cd7d6872da3380e7ac530bd36bd4a185