GitHub

Repos­i­to­ry

A repos­i­to­ry is usu­al­ly used to orga­nize a sin­gle project. Repos­i­to­ries can con­tain fold­ers and files, images, videos, spread­sheets, and data sets – any­thing your project needs. We rec­om­mend includ­ing a README, or a file with infor­ma­tion about your project. GitHub makes it easy to add one at the same time you cre­ate your new repos­i­to­ry. It also offers oth­er com­mon options such as a license file.

Branch

Branch­ing is the way to work on dif­fer­ent ver­sions of a repos­i­to­ry at one time.

By default your repos­i­to­ry has one branch named mas­ter which is con­sid­ered to be the defin­i­tive branch. We use branch­es to exper­i­ment and make edits before com­mit­ting them to mas­ter.

Com­mit

On GitHub, saved changes are called com­mits.

Pull Request

When you open a pull request, you’re propos­ing your changes and request­ing that some­one review and pull in your con­tri­bu­tion and merge them into their branch. Pull requests show diffs, or dif­fer­ences, of the con­tent from both branch­es. The changes, addi­tions, and sub­trac­tions are shown in green and red.

GitHub Pages

Not­twya

GitHub Pages are pub­lic web­pages host­ed and pub­lished through our site.

You can cre­ate and pub­lish GitHub Pages online using the Auto­mat­ic Page Gen­er­a­tor. If you prefer to work local­ly, you can use the GitHub Desk­top or the com­mand line.

Pages are served over HTTP, not HTTPS, so you shouldn’t use them for sen­si­tive trans­ac­tions, like send­ing pass­words or cred­it card num­bers.

Leave a Reply

Your email address will not be published. Required fields are marked *