how to check the current repository in git code example Example: how to check the repository name in git git config --get remote.origin.url