내 로컬 브랜치:master 깃헙의 브랜치:main 이라서 발생
git branch -m [변경 전 브랜치명] [변경 후 브랜치명]
으로 해결함.
https://heytech.tistory.com/477