It took me a while to figure out that I needed to set the following in my config.php, to be able to test locally from Git, without having to delete the install/ directory.
@define('PHPBB_ENVIRONMENT', 'development');
It would be nice if that were explained somewhere in the phpBB Development Documentation.