mainブランチでgit pullをするとYour configuration specifies to merge with the ref “ブランチ名” from the remote, but no such ref was fetched.と出てしまいコミットを取得できない時の解決法

mainブランチでgit pullをした際にリモートブランチがorigin/mainになっておらず、最新コミッ
senseiengineer.com senseiengineer.com