If referential integrity has been broken: git config --get remote.origin.url If referential integrity is intact: git remote show origin