how to know git link of repository by .git folder code example Example: how to check git repository link git config --get remote.origin.url