DEV Community

Deep Dive Tech
Deep Dive Tech

Posted on

GITty UP!!!

What the Git is going on?

So what's a Git?

If you would've asked me that a couple weeks ago, then I most likely would've looked at you funny. But to answer the question, a Git is a version control system that lets you manage and keep track of your source code history.

Git is installed and maintained on your local system (rather than in the cloud) and gives you a self-contained record of your ongoing programming versions.

What about GitHub?

GitHub is a cloud-based hosting service that lets you manage Git repositories. If you have open-source projects that use Git, then GitHub is designed to help you better manage them.

It’s an online database that allows you to keep track of and share your Git version control projects outside of your local computer/server. Unlike Git, GitHub is exclusively cloud-based.

OK next question, what is a Commit? Am I committing to a college or what?

Well, the type of commit we are talking about isn't the commit you might be thinking.

A commit, or "revision", is an individual change to a file (or set of files). It's like when you save a file, except with Git, every time you save it creates a unique ID that allows you to keep record of what changes were made when and by who. Commits usually contain a commit message which is a brief description of what changes were made.

Youtube Video:
https://youtu.be/BNzeWa7ELCw

Top comments (0)