check repo link code example Example: how to check git repository link git config --get remote.origin.url