리액트 템플릿을 사용 하고 처음으로 깃에 올리는데 템플릿에서 사용 하는 .git 파일 까지 올려서 다른 사람의 커밋들이 다 올라왓다.
$ rm -rf .git
$ git init
$ git add .
$ git commit -m "first commit"
$ git remote add origin {git remote url}
$ git push -u --force origin master
$ git branch -m master main
으로 변경 해 주어야 한다.