git config --global user.name "<full name>"
git config --global user.email "<email address>"
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
Go to the Git repository folder
git config credential.helper store
Credentials are stored when the user logs in the next time
git clone git@github.com:thomai/submodule-main.git
cd submodule-main
git submodule add git@github.com:thomai/submodule-test1.git
git submodule add git@github.com:thomai/submodule-test2.git
git add .
git ci -m "Added submodules"
cd submodule-main
cd submodule-test1
git pull
cd ../
git add .
git ci -m "Updated submodule-test1"
git push
git clone --recurse-submodules git@github.com:thomai/submodule-main.git