And also, why do I need to create one every time I use eclipse? In my opinion, this is illogical, confusing, and not user friendly at all so I am just confused as to why everyone loves github.
Technically speaking, it's to help prevent others from hijacking your account and ruining your program. It's just a basic use password to allow for access to pushing up to github. You could always save one in a document so that you only need one, but you will have to input it every time you code on a school computer. On personal computers you should be able to save the token to your secure database. Also you can elongate the life of a personal access token so that you don't have to make new ones.
Well, since Katelyn provided the best answer, I just want to add that you don't have to create one every time you use eclipse, just merely set the expiration time for your token
That's neat. Great idea!
It's an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. Idk but maybe they're going to replace the passwords in the future?