better handling of existing git repos