What is Git?
Git is a version control system that records every change to your files so you can undo mistakes and work with others.
A commit is a saved snapshot, a branch is a separate line of work and a merge combines branches. Services such as GitHub host Git repositories online.
A diff shows exactly which lines changed between two versions.