Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1.36 KB

git-intro.md

File metadata and controls

18 lines (11 loc) · 1.36 KB

An intro to Git

What is Git?

Git is a free and open source distributed version control system. It allows you to easily work on files locally, as well as coordinate the work on those files between multiple people. Your local copy of the code is a complete version control repository. You can commit your work locally, then sync your copy of the repository with the copy on a server. This provides a lot of flexibility in terms of working offline, and in a non-linear workflow with a team.

The basis of tracking changes in Git is commits. Making a commit essentially takes a snapshot of the state of all the files in the directory at that point in time and saves that as a version of your project. If a file has not changed, Git saves a pointer to the previous version of that file.

How is Git different from GitHub?

Git is the version control system, and GitHub is a hosting service for Git repositories. Other services like GitHub include GitLab and Bitbucket. They provide additional features that help manage the software development lifecycle (such as bug tracking, wiki space, commenting, and reviewing).

Learn more

Check out these links to learn more: