Added init and update to git submodule command and repository class