Git og Github: forskjeller enkelt forklart
Git og Github er to begrep som ofte leses i programmering. I dette praktiske tipset forklarer vi hva hver enkelt betyr og hva forskjellene er.
Git og github: hva er git?
Før forskjellene mellom de to begrepene er avklart, bør du vite hva Git betyr.
- Git er et system som brukes til versjonskontroll av prosjekter. Åpen kildekode er tilgjengelig.
- Git gir deg muligheten til å hoppe tilbake til gamle versjoner under utviklingen av et prosjekt, slik at du kan kontrollere dine egne endringer.
- Git kan betjenes både fra kommandolinjen og via programvare som er spesielt utviklet for dette formålet - en såkalt Git-klient. I motsetning til kommandolinjen tilbyr dette et grafisk brukergrensesnitt for bedre oversikt.
- Et av de viktigste punktene er muligheten for å gjøre endringene tilgjengelig for andre mennesker via depoter og å la andre delta i prosjektet.
- Ved å jobbe sammen og lagre alle versjoner, er det mulig å jobbe med forskjellige versjoner samtidig, som er utviklet annerledes av forskjellige mennesker.
- I tilfelle feil eller annet behov, kan du ganske enkelt gå tilbake til en tidligere, stabil versjon.
- Såkalte grener gjør det mulig å forstå hvilken funksjon det jobbes med, og så utviklede funksjoner kan tas i bruk i hovedprogrammet - masteren.
- Forresten: Git ble initiert av Linux-utvikler Linus Torvalds.
Github: Hva er det?
Github er en online plattform som lagrer prosjektutviklingen som filvertjeneste.
- Github er verten for dine Git-prosjekter.
- Tjenesten er gratis og er nå et datterselskap av Microsoft.
- Prosjektene dine på Github er imidlertid bare private når du betaler en månedlig avgift. Prosjektene dine er offentlige i gratisversjonen.
- Alle kan jobbe med offentlige prosjekter. Så du kan også hjelpe med eksisterende programmer for å legge til nye funksjoner eller å fikse feil.
Konklusjon: dette er forskjellene mellom Git og Gitub
Git og Github er to forskjellige strukturer, men de går hånd i hånd.
- Mens Git er systemet som muliggjør ikke-lineær utvikling i det hele tatt og gir protokollen for dataoverføring etc., er Github en online tjeneste som fungerer på Git-basis.
- Git installeres lokalt, mens Github tilbyr en skyløsning.
- Github tilbyr det grafiske brukergrensesnittet, uten hvilket Git bare kunne nås via kommandosenteret.
- Git er helt gratis, mens Github muliggjør flere funksjoner gjennom en månedlig betaling.