Updated question ( i do not create a separate branch, use decault procedure, and do not use sudo ). It gives me two branches on git : main and master, but it shows only one branch on localmachine \*master. How to merge master with the main on the github?

```
$ sudo git init // i have change permissions for .git to writable, do not use sudo anymore
$ git add -all
$ git remote add origin "https://github.com/gintares/jokes2"
$ git commit -m "first"
$ git push -u origin master

$ git branch
* master

```

ORIGINAL QUESTION
i was creating a different branch
and was using git with sudo ( it is not recommended )

How to get the git repository pull requests approved?

I have created a new git repository, and new project on my computer.

```
htdocs/jokes_any$ sudo git init

htdocs/jokes_any$ sudo git add --all
htdocs/jokes_any$ sudo git remote add origin "https://github.com/gintares/jokes"
htdocs/jokes_any$ git remote -v // And double check to make sure it know
htdocs/jokes_any$ sudo git checkout -b jokes

htdocs/jokes_any$ sudo git commit -m "first"

htdocs/jokes_any$ sudo git push -u origin jokes

htdocs/jokes_any$ sudo git remote -v

origin  https://github.com/gintares/jokes (fetch)
origin  https://github.com/gintares/jokes (push)
htdocs/jokes_any$ 

```

It is under this link <https://github.com/gintares/jokes>

It looks like commit, versus files and folders. I am not able to find where i can accept the push?

I can see compare & pull request button, it opens the new window with all pushed files. Nevertheless, these files are not under <https://github.com/gintares/jokes> , they are under <https://github.com/gintares/jokes/compare/jokes?expand=1>

How to accept the push?

Shall i send the files to git over shell, and push changes later? I mean is git suitable to send full project on github? Shall i use other method, which? Shall i use git ssh <https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh>?