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