Added code to allow per directory git repos