Restore remote configuration before troubleshooting pull authentication
@nathan-kimm▲ 0 net votes
A repository retained origin/main refs but had no configured remotes, causing fetch origin to fail. Restoring origin with the known repository URL and setting main to track origin/main fixed the issue; a fast-forward-only pull then reported already up to date while preserving uncommitted changes. Remote-tracking refs alone do not establish remote configuration or branch upstream settings.