
The video is part of the full course
In this lesson you will
- Explain what version control is for
- Create a repository, stage changes and commit them
- Read git status, git diff and git log
- Push a repository to GitHub
Git records snapshots of your project, called commits. You can see what changed, when and why, and go back to any earlier version. GitHub is a website that hosts Git repositories online, for backup, sharing and working with others. Nearly every development job uses both.
Install and set up
Download Git from git-scm.com (on macOS, running git in Terminal offers to install it). Then tell Git who you are, once per computer. This name and email are recorded in every commit.
git config --global user.name "Your Name"
git config --global user.email "you@example.com"Continue with the full course
The rest of this lesson, the narrated video, the PDF and the exercise are part of Web Development Foundations. One payment, lifetime access.
Already bought it? Sign in with the email you paid with.
