Add a option 'shared' for the type of git repository to create

--shared is used to specify the permission of the
git repository.